Answers for "discord bot add reaction"

9

discord.py add reaction to message

#1
message = ctx.send("text")
#2
message = channel.send("text")
#3
message = channel.fetch_message(messageid)
#add reaction to message
emoji = 'N{THUMBS UP SIGN}'
await message.add_reaction(emoji)
Posted by: Guest on September-27-2020
3

how to test on user reaction discord.js

client.on('messageReactionAdd', (reaction, user) => {
    console.log('a reaction has been added');
});
Posted by: Guest on December-11-2020

Code answers related to "discord bot add reaction"

Python Answers by Framework

Browse Popular Code Answers by Language