Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored Jul 25, 2022
1 parent 5f1a4d4 commit 4e661ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def on_error(event: lightbulb.CommandErrorEvent) -> None:
return await event.context.respond(f"Missing required roles ({event.exception})")

if isinstance(event.exception, lightbulb.errors.NotOwner):
return await event.context.respond(f"You are not the owner of this bot!")
return await event.context.respond("You are not the owner of this bot!")

trace = "".join(traceback.format_exception(None, event.exception, event.exception.__traceback__))
await event.context.respond(
Expand Down

0 comments on commit 4e661ec

Please sign in to comment.