aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/content
diff options
context:
space:
mode:
authorGravatar Ash <[email protected]>2022-07-01 16:01:33 +0100
committerGravatar GitHub <[email protected]>2022-07-01 16:01:33 +0100
commit2a8b2f4b764c83584972224ad2cf8c625e6712e1 (patch)
tree9475243bf22d8752a3c3469dafe8494fc5d714fd /pydis_site/apps/content
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]>
Diffstat (limited to 'pydis_site/apps/content')
-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 d5f204b0..7d7239e2 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
@@ -133,7 +133,7 @@ class SlashBot(commands.Bot):
bot = SlashBot()
@bot.tree.command(name="ping", description="...")
-async def _ping(interaction: discord.Interaction) -> None:
+async def ping(interaction: discord.Interaction) -> None:
await interaction.response.send_message("pong")
bot.run("token")