y21/discordcaptcha

Improvement: Delete captcha immediately upon successful verification

louis6321 opened this issue · 4 comments

Rather than waiting for the timeout, the captcha should be immediately deleted if verification is successful.

y21 commented

Thanks. Added in e20d873.

Thanks. Will it still delete when it hits the timeout or only if the user verifies? I still like the timeout because otherwise people type !verify and then don't finish it and the channel fills up with captchas.

y21 commented

Yep, it will still delete the captcha message if it hits the timeout. (This can also be disabled by setting captcha to null in config.json)

Working perfectly. Thanks!