You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, you create a file to send your image, don't do that !
You can just send data, without use a file.
Additionally, you delete the file only if the user have the correct answer in 120 s.
Your bot will then automatically take up disk space until there is no more disk space left.
The text was updated successfully, but these errors were encountered:
I have change the script. Now the bot delete the captcha folder just after the captcha sending.
You said to send directly the image content and do not save it, but it's create an error : TypeError: expected str, bytes or os.PathLike object, not PngImageFile.
Raid-Protect-Discord-Bot/Cogs/onJoin.py
Line 119 in 1c3699b
Here, you create a file to send your image, don't do that !
You can just send data, without use a file.
Additionally, you delete the file only if the user have the correct answer in 120 s.
Your bot will then automatically take up disk space until there is no more disk space left.
The text was updated successfully, but these errors were encountered: