Something like this.
@client.event
async def on_reaction_add(reaction, user):
a = await client.say("React to see help")
if reaction.emoji == "
Something like this.
@client.event
async def on_reaction_add(reaction, user):
a = await client.say("React to see help")
if reaction.emoji == "
You need to send a message when the bot comes online, then monitor that message for new reactions. The easiest way to do that is with a background loop using
Client.wait_for
, instead of theon_reaction_add
event. Thereaction_check
function is to make finding the right reactions easier.