From c5d36a290532539c7268e8ec9c7b2c53e6eb955b Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 16 Mar 2023 00:08:02 +0100 Subject: [PATCH] more debugging --- reginaldCog/reginald.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reginaldCog/reginald.py b/reginaldCog/reginald.py index b9d3ce2..dc51b51 100644 --- a/reginaldCog/reginald.py +++ b/reginaldCog/reginald.py @@ -164,7 +164,7 @@ class ReginaldCog(commands.Cog): return None @reginald.error - async def reginald_error(ctx, error): + async def reginald_error(self, ctx, error): if isinstance(error, commands.BadArgument): await ctx.send("I'm sorry, but I couldn't understand your input. Please check your message and try again.") elif isinstance(error, commands.CheckFailure): @@ -173,7 +173,7 @@ class ReginaldCog(commands.Cog): await ctx.send(f"An unexpected error occurred: {error}") @reginaldimagine.error - async def reginaldimagine_error(ctx, error): + async def reginaldimagine_error(self, ctx, error): if isinstance(error, commands.BadArgument): await ctx.send("I'm sorry, but I couldn't understand your input. Please check your message and try again.") elif isinstance(error, commands.CheckFailure):