mmcmd/verification-bot

Error handling

Opened this issue · 2 comments

mmcmd commented

Add error handling for multiple exceptions such as command still on cooldown and missing args

How to implement this? I see an is_on_cooldown() function in the API. Will that need to be added to the beginning of every async function?

mmcmd commented

I believe it is possible to create a global cooldown function, though I'm not 100% sure. The discord.py discord may have some examples on it