mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
🥅 - Catching command errors better than ever
This commit is contained in:
@@ -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 !"}
|
||||
Reference in New Issue
Block a user