Git Product home page Git Product logo

hangoutbot's People

Contributors

ddivad195 avatar inalone avatar itsazaria avatar jakejmattson avatar khinshankhan avatar lyledavis avatar sidtr0 avatar vedangnaik avatar yohello1 avatar zachinquarantine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hangoutbot's Issues

hide channels suggestions

Hey there people,

we sometimes get suggestions to introduce roles to reduce the number of channels, and we did try that once and it was annoying because new comers would get redirected to non existent channels without a certain role. Couldn't we make productive mute a bit more expansive to handle that? Default mutes every off-topic channel as it stands and you can provide categories or further channels to ignore in the args. It then applies a role with that exact name (one role per person) but mutes different channels depending on how it was invoked and if we really wanted could make it of indefinite duration (with some way to revert)?

Just some throwing some thoughts around, what do you think?

No way of updating the colour of a role

As it is, once a role with a particular colour has been created there is no way to use that role name for a different colour, even if the old role is not used A few ideas for how this can be resolved:

  1. When clearcolor is used, check if no user has the role and delete the role in that case.
  2. Allow setcolor to update role colours when the role already exists.
  3. Add an changecolor command to modify the colour associated with a name.
  4. Add an deletecolor command that removes a colour role.

I'm not sure option 1 is feasible, since I don't know if Discord has a way of easily checking if a role is unused. Options 2-4 all seem like they would be reasonable solutions. I'd be happy to give implementing one of the four a shot; does anyone have a preference on which one? (Assuming this is a desirable feature in the first place.)

Bug with unmute on startup

On startup the bot tries to check if anyone should be unmuted - if they've left the server this throws an error

Manually removing someone's color role leaves orphan colors

Problem: Manually removing the color role from someone does not remove that user from the list of users with the color. The color is then not deleted, if that was the only user making use of it.

We should listen for GuildMemberRoleRemoveEvent and update the color roles accordingly.

Typo on welcome string

There's a typo in the Oh, User, don't let's ask for the moon. We have the stars.
It is Oh, User, don't let's ask for the moon. We have the stars.
It should be Oh, User, don't ask for the moon. We have the stars.
slika

Revoke and Grant: Roles must be from this guild.

Expected behaviour:
tph!grant userid [NameOfRole]
Role added to user
tph!revoke userid [NameOfRole]
Role removed from user

Actual behaviour:
tph!grant userid [NameOfRole]
Roles must be from this guild.
tph!revoke userid [NameOfRole]
Roles must be from this guild.

Role is listed in listgrantableroles and listroles.

Is this just not implemented yet? @markhc

HangoutBot Automatic Raid Detector and Notifier

This is a feature I am working on, that is ready to be implemented here. The feature involves anti-raid policy and a few more environment variables.

How this will work:
Example limit is 10 users per 5 minutes

Members enter. The bot logs them in a python List.
If threshold exceeds and more than 10 users accumulate within a 5 minute period, all users in the list get kicked.
A notifier sends a message in general about the raid, and optionally dmes the kicked users that they were part of a raid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.