aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ash <[email protected]>2022-07-01 16:05:07 +0100
committerGravatar GitHub <[email protected]>2022-07-01 16:05:07 +0100
commit9344c927c4e4deba148202f23b7803c775d698a6 (patch)
tree1ae046e23a3a81b9c040f381991e472484cb0648
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
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 02a56ba6..917c63a1 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
@@ -445,7 +445,7 @@ async def ping_error(interaction: discord.Interaction, error: app_commands.AppCo
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: