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

Enhancement: remove failed validation notification after timeout #15

Open
ivdok opened this issue Dec 16, 2020 · 2 comments
Open

Enhancement: remove failed validation notification after timeout #15

ivdok opened this issue Dec 16, 2020 · 2 comments
Assignees

Comments

@ivdok
Copy link

ivdok commented Dec 16, 2020

Our chat group has recently been hit by a spam bot wave (30+ and counting at the moment), and while this bot works perfectly fine against them, unfortunately it doesn't clean up after itself, resulting in a humongous wall of "User didn't pass the validation and was banned." messages. It'd be great if @cloud_tg_captcha_bot or on-prem instance could clean up after itself, with 30 minutes timeout by default, or even configurable, if it's easy to implement.

@mxssl mxssl self-assigned this Dec 17, 2020
@mxssl
Copy link
Owner

mxssl commented Dec 17, 2020

Thank you for a great issue! I will think about how it can be implemented.

As a temporary solution, you can use this parameter in the configuration: https://github.com/mxssl/tg-captcha-bot/blob/master/config.toml#L15

It deletes "User didn't pass the validation and was banned" messages.

@muzzol
Copy link

muzzol commented Apr 27, 2023

can we activate this for public instance?

I love the bot but there's a lot of messages like this one "User didn't pass the validation and was banned."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants