diff --git a/src/error.py b/src/error.py index 553dfae..2b4b457 100644 --- a/src/error.py +++ b/src/error.py @@ -11,7 +11,7 @@ class ErrorHandler(commands.Cog): async def on_command_error(self, ctx: commands.Context, error: commands.CommandError): if isinstance(error, commands.CommandNotFound): return - elif isinstance(error, commands.MissingPermissions): + if isinstance(error, commands.MissingPermissions): message = "You are missing the required permissions to run this command!" elif isinstance(error, commands.UserInputError): message = "Something about your input was wrong, please check your input and try again!"