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
532 stars 218 forks source link

[Question] Solve time bug? #110

Closed SiDronee closed 3 years ago

SiDronee commented 3 years ago

Initial captcha solve time (in minutes)

"CAPTCHABOT_INIT_CAPTCHA_TIME_MIN": 2,

Settings say 2.. but it keeps on 5 minutes. Tried multiple ./kill and ./run but no fix image

J-Rios commented 3 years ago

Hi,

Note that this constant is the default value that will be used as initial configuration in a new Telegram group. If the Bot was in the group and the Bot already have group configurations, it won't overwrite the group configuration.

Are you sure about what are you looking for? Do you know that you can configure the captcha solve time value in each group by using Bot /time command right?

Are you trying to remove Bot configuration file (data/chats/CHAT_ID) of that group before try the change? Or did you try to add the Bot to a new group?

Regards.

SiDronee commented 3 years ago

You are totally right, thanks! Problem has been solved by that! I thought it was an overall setting and /time was just temp