Skip to content

Commit

Permalink
Update on_command_error.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahCxrest authored Jan 5, 2024
1 parent 941f33a commit 1b5b555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/on_command_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def on_command_error(self, ctx, error):
error_id = error_gen()


if 'Invalid Webhook Token' in str(error) or 'Unknown Message' in str(error)::
if 'Invalid Webhook Token' in str(error) or 'Unknown Message' in str(error):
return

if isinstance(error, httpcore.ConnectTimeout):
Expand Down

0 comments on commit 1b5b555

Please sign in to comment.