Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed May 8, 2023
1 parent 4dcbcc9 commit 9877a9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion les_louisdelatech/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 9877a9e

Please sign in to comment.