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

SPAM preventing feature #290

Open
tenhobi opened this issue Feb 10, 2022 · 0 comments
Open

SPAM preventing feature #290

tenhobi opened this issue Feb 10, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers type: event

Comments

@tenhobi
Copy link
Member

tenhobi commented Feb 10, 2022

Prevent users from posting the same message more than two times. Aka on posting, the bot will look at the user's last 10 (?) messages (or in some time, last 10 seconds?) and if they contain some % of similarity (> 90 %?) it will be classified as spam and the user will be timeouted for 30 minutes.

// not sure about the specific threshold and the similarity percentage

@tenhobi tenhobi added enhancement New feature or request good first issue Good for newcomers type: event labels Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers type: event
Development

No branches or pull requests

1 participant