aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ash <[email protected]>2022-07-01 16:03:36 +0100
committerGravatar GitHub <[email protected]>2022-07-01 16:03:36 +0100
commitfff37e8bfd0f3ace81235a00b0d343cd8ba21383 (patch)
treeab84c147e76047ae4873871c257efc7402158bc4
parentUpdate pydis_site/apps/content/resources/guides/python-guides/discord-app-com... (diff)
Update pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md
quite alright Co-authored-by: Robin <[email protected]>
-rw-r--r--pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md b/pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md
index 1f5a0ff3..65c0b025 100644
--- a/pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md
+++ b/pydis_site/apps/content/resources/guides/python-guides/discord-app-commands.md
@@ -410,7 +410,7 @@ async def on_tree_error(interaction: discord.Interaction, error: app_commands.Ap
if isinstance(error, app_commands.CommandOnCooldown):
return await interaction.response.send_message(f"Command is currently on cooldown! Try again in **{error.retry_after:.2f}** seconds!")
- elif isinstance(..., ...):
+ elif isinstance(error, ...):
...
else: