@bot.command()
async def test(ctx):
accept_decline = await ctx.send('Test')
await accept_decline.add_reaction('one')
await accept_decline.add_reaction('two')
await accept_decline.add_reaction('three')
await accept_decline.add_reaction('four')
await accept_decline.add_reaction('five')
await accept_decline.add_reaction('six')
bot.wait_for("reaction_add")
: https://discordpy.readthedocs.io/en/v1.3.4/api.htm...@bot.command(ctx):
async def test(ctx):
accept_decline = await ctx.send('Test')
await accept_decline.add_reaction('one')
try:
reaction = await bot.wait_for("reaction_add", timeout=60, check = lambda r, u: r=='one' )
except asyncio.TimeoutError:
await channel.send("\N{THUMBS DOWN SIGN}")
else:
await channel.send("\N{THUMBS UP SIGN}")