Skip to content

Commit

Permalink
refactor: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FallenDeity committed Nov 30, 2023
1 parent 7f82cfd commit d7d8a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/smart-sync/utils/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ class SlashCommandTree(app_commands.CommandTree["CustomBot"]):
async def on_error(self, interaction: Interaction[discord.Client], error: AppCommandError | Exception) -> None:
if isinstance(error, app_commands.errors.CommandInvokeError):
error = error.original
message = f"""
message = f"""
\nException: {error.__class__.__name__},
Command: {interaction.command.qualified_name if interaction.command else None},
User: {interaction.user},
Expand Down

0 comments on commit d7d8a22

Please sign in to comment.