Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenskithesource authored and Lulalaby committed Feb 8, 2022
1 parent 913f3bd commit a428f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/app_commands/slash_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def autocomplete_example(
color: Option(str, "Pick a color!", autocomplete=get_colors),
animal: Option(str, "Pick an animal!", autocomplete=get_animals),
):
"""This demonstrates using the ctx.options parameter to to create slash command options that are dependent on the values entered for other options."""
"""This demonstrates using the ctx.options parameter to create slash command options that are dependent on the values entered for other options."""
await ctx.respond(
f"You picked {color} for the color, which allowed you to choose {animal} for the animal."
)
Expand Down

0 comments on commit a428f0b

Please sign in to comment.