Skip to content

Commit

Permalink
Merge pull request #424 from BruhDark/fix-dropdown-doc
Browse files Browse the repository at this point in the history
Update dropdowns.mdx
  • Loading branch information
Lulalaby authored Mar 20, 2024
2 parents 9ecc628 + 2a408a2 commit bf62ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/interactions/ui-components/dropdowns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MyView(discord.ui.View):

@bot.command()
async def flavor(ctx):
await ctx.send("Choose a flavor!", view=MyView())
await ctx.respond("Choose a flavor!", view=MyView())

bot.run("TOKEN")
```
Expand Down

0 comments on commit bf62ada

Please sign in to comment.