Skip to content

Commit

Permalink
Merge pull request #34 from int-y1/patch-1
Browse files Browse the repository at this point in the history
Fix lint
  • Loading branch information
jtyliu authored Jul 25, 2022
2 parents 5f1a4d4 + 4e661ec commit 0ec3a5f
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 0ec3a5f

Please sign in to comment.