Skip to content

Commit

Permalink
✏️ Fix writing
Browse files Browse the repository at this point in the history
  • Loading branch information
Paillat-dev committed Dec 18, 2024
1 parent 1dddf13 commit 1f0b697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/app_commands/slash_partial_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class FoodCog(commands.Cog):
autocomplete=partial(food_autocomplete, food_type="fruit"),
)
async def get_fruit(self, ctx: discord.ApplicationContext, choice: str):
await ctx.respond(f"You picked: {choice}")
await ctx.respond(f'You picked "{choice}"')

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


bot.add_cog(FoodCog())
Expand Down

0 comments on commit 1f0b697

Please sign in to comment.