aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Ash <[email protected]>2022-07-01 16:03:16 +0100
committerGravatar GitHub <[email protected]>2022-07-01 16:03:16 +0100
commit7e5fe0bab6e2b97d2fc4e855d05573ca02801caf (patch)
tree9174078543e268a2c3665c04e50ef59591f48074 /pydis_site
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')
-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 7d7239e2..1f5a0ff3 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
@@ -166,7 +166,7 @@ class MySlashCog(commands.Cog):
self.bot = bot
@app_commands.command(name="ping", description="...")
- async def _ping(self, interaction: discord.Interaction):
+ async def ping(self, interaction: discord.Interaction):
await interaction.response.send_message("pong!")
class MySlashBot(commands.Bot):