idoneam / Canary

Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.
GNU General Public License v3.0
11 stars 7 forks source link

[BUG] Verification purge keeps crashing because of rate limitation #609

Open le-potate opened 10 months ago

le-potate commented 10 months ago

When running the verification purge command, the bot can only remove a few pictures before it crashes because of the rate limitation. The rate might have changed since this feature was made. Because of this, often mods need to restart the command dozens of times to get everything to be deleted. The bot should handle rate limitation and wait instead of stopping the command.