From 9877a9eba0b23e33506075d29aa8a32f71b37362 Mon Sep 17 00:00:00 2001 From: Ludovic Ortega Date: Tue, 9 May 2023 00:03:31 +0200 Subject: [PATCH] fix: ci --- les_louisdelatech/bot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/les_louisdelatech/bot.py b/les_louisdelatech/bot.py index 2565fde..49560b7 100644 --- a/les_louisdelatech/bot.py +++ b/les_louisdelatech/bot.py @@ -83,7 +83,9 @@ async def on_command_error(self, ctx, error): if isinstance(error, discord.ext.commands.errors.CommandNotFound): await ctx.send("Command not found") elif isinstance(ctx, discord.Interaction): - await ctx.response.send_message(f"Error while executing command => {error.__cause__}") + await ctx.response.send_message( + f"Error while executing command => {error.__cause__}" + ) else: await ctx.send(f"Error while executing command => {error.__cause__}") traceback.print_exception(