From 6346ab3d1672baf5367e87f9d8e60828e7e06cc2 Mon Sep 17 00:00:00 2001 From: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Date: Wed, 28 Jan 2026 20:37:16 -0800 Subject: [PATCH] docs: update slash options example --- examples/app_commands/slash_options.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/app_commands/slash_options.py b/examples/app_commands/slash_options.py index 15bc85e258..b7f231b069 100644 --- a/examples/app_commands/slash_options.py +++ b/examples/app_commands/slash_options.py @@ -12,7 +12,7 @@ @bot.slash_command() @option("name", description="Enter your name") -@option("gender", description="Choose your gender", choices=["Male", "Female", "Other"]) +@option("pokemon", description="Choose your starter Pokémon", choices=["Bulbasaur", "Squirtle", "Charmander", "Pikachu"]) @option( "age", description="Enter your age", @@ -26,11 +26,11 @@ async def hello( ctx: discord.ApplicationContext, name: str, - gender: str, + pokemon: str, age: int, ): await ctx.respond( - f"Hello {name}! Your gender is {gender} and you are {age} years old." + f"Hello {name}! Your starter Pokémon is {pokemon} and you are {age} years old." )