J-Rios / TLG_JoinCaptchaBot

Telegram Bot to verify if users joining a group are human. The Bot sends an image captcha for each new user and kicks any of them who can't solve the captcha in a specified time.
GNU General Public License v3.0
516 stars 217 forks source link

[Request] Delete all messages from new users #64

Closed Stezkoy closed 2 years ago

Stezkoy commented 3 years ago

How to delete all messages from new users? There are bots that immediately reset the ad when it enters. Can I get the bot to quickly delete all messages from a user who didn't pass the captcha?

J-Rios commented 3 years ago

Hi,

Current Bot didn't support to remove all messages from users that doesn't solve the captcha.

Let me explain with an example, one of the reason of why it is not implemented:

However, a PR with new Bot optional functionality, disabled by default, that can be enabled in specific groups through a new command, to enable Bot remove all new users kicked messages in that group, can be accepted.

P.D. Currently, if any userbot joins a group and send a message that contains an URL, it is detected as Spam and joincaptch bot delete it.

Stezkoy commented 3 years ago

Is it possible to implement, at least on a button, deleting all messages?

J-Rios commented 2 years ago

Duplicated in: https://github.com/J-Rios/TLG_JoinCaptchaBot/issues/120

Let's close this one and use the other issue regarding this.