🥅 - Catching command errors better than ever

This commit is contained in:
Florian Sylvain
2021-04-12 17:27:41 +02:00
parent 4afa590378
commit 4e9ffd2954
2 changed files with 14 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
from discord.ext import commands
errors = {commands.MissingRequiredArgument:"A required argument is missing !",
commands.TooManyArguments:"You entered too many arguments !",
commands.NotOwner:"Only the owner of the bot can use this command... *Where did you get it ?*",
commands.BotMissingPermissions:"I'm missing some permissions to execute this command !"}