Skip to content

Commit 1f0b697

Browse files
committed
✏️ Fix writing
1 parent 1dddf13 commit 1f0b697

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/app_commands/slash_partial_autocomplete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FoodCog(commands.Cog):
3333
autocomplete=partial(food_autocomplete, food_type="fruit"),
3434
)
3535
async def get_fruit(self, ctx: discord.ApplicationContext, choice: str):
36-
await ctx.respond(f"You picked: {choice}")
36+
await ctx.respond(f'You picked "{choice}"')
3737

3838
@commands.slash_command(name="vegetable")
3939
@discord.option(
@@ -42,7 +42,7 @@ async def get_fruit(self, ctx: discord.ApplicationContext, choice: str):
4242
autocomplete=partial(food_autocomplete, food_type="vegetable"),
4343
)
4444
async def get_vegetable(self, ctx: discord.ApplicationContext, choice: str):
45-
await ctx.respond(f"You picked: {choice}")
45+
await ctx.respond(f'You picked "{choice}"')
4646

4747

4848
bot.add_cog(FoodCog())

0 commit comments

Comments
 (0)