message_object = ...
def check(arg):
if ctx.author.id == arg.user_id:
return str(arg.emoji) == '✅' or str(arg.emoji) == '❌'
await message_object.add_reaction('✅')
await message_object.add_reaction('❌')
payload = await self.bot.wait_for('raw_reaction_add', timeout=60.0, check=check)
if str(payload.emoji) == '✅':
pass
elif str(payload.emoji) == '❌':
pass