How would I be able to wait for a reaction and then use that reaction as a response
What I want the code to do:
User -> .buy
Bot -> "How would you like to purchase"
User -> Reacts with 1️⃣
Bot -> Does response for reaction 1️⃣
Here is my code so far:
message = await ctx.send("How would you like to purchase") for emoji in ('0️⃣', '1️⃣', '2️⃣', '3️⃣', '4️⃣', '5️⃣'): await message.add_reaction(emoji)
I want the bot to be able to respond to each of these reactions with different responses
https://stackoverflow.com/questions/66085457/discord-py-reaction-response February 07, 2021 at 03:18PM
没有评论:
发表评论