Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add group flood control #137

Open
6 tasks
alvarogzp opened this issue Nov 17, 2017 · 0 comments
Open
6 tasks

Add group flood control #137

alvarogzp opened this issue Nov 17, 2017 · 0 comments

Comments

@alvarogzp
Copy link
Owner

alvarogzp commented Nov 17, 2017

The bot should:

  • Kick or restrict writing a user who sends too many messages per second/minute (configurable).
  • Notify the group when it takes some action (eg. the user has been restricted/banned).
  • The feature should be opt-in per group, being off by default.

Nice to have:

  • Warn a user before reaching a limit (eg. when a user has written 80-90% of allowed messages per minute and is about of being restricted).
  • Warn when enabling the feature on a group when he is not admin, as he won't be able to perform any action. It could however run in a "warning" mode, sending messages when a limit has been reached, or even mention an admin or notify on another group.
  • Allow group admins to override bot actions (this could be implemented using an inline keyboard on the message that tells about the action with buttons to override the action).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant