Skip to content Skip to sidebar Skip to footer

Python 3.6 Discord Bot Cooldown Message

so I have this command which allows the user to change the game and it works perfectly but I put a 15 second cooldown on it and it too works fine, but my issue is getting it to dis

Solution 1:

If a member tries to invoke a command that is currently on cooldown a CommandOnCooldown exception is thrown and triggers on_command_error.

Although async does not document it there is an event on_command_completion

on_command_completion(command, ctx)

this is dispatched if a command has successfully completed its invocation.

Post a Comment for "Python 3.6 Discord Bot Cooldown Message"