Skip to content

Send the captcha without saving it #1

Open
@Astremy

Description

@Astremy

https://github.com/Darkempire78/Raid-Protect-Discord-Bot/blob/1c3699b1eb38da638e35c3085ed7e3a640126e8b/Cogs/onJoin.py#L119

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions