Discord.py (rewrite) How To Get Cooldowns Working With On_message Event?
I've been trying to convert my commands to on_message events as in this case, it saves up space and it is cleaner to look at. However I can't seem to use @cooldown() anymore as I h
Solution 1:
You can limit the amount of times an event is used by using a time parameter or a count parameter. You won't be able to do it per user very easily. If you're wanting a cooldown per user, I would highly recommend switching back to a command approach. This may help. How can I limit the on_message replies (Discord Python bot)
Post a Comment for "Discord.py (rewrite) How To Get Cooldowns Working With On_message Event?"