Answers for "how to make a bot send a message with a reaction discord.py"

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
1

discord bot python on reaction

@client.event
async def on_reaction_add(reaction, user):
    # Steals your reaction by removing the original and adding it's own
    if not user.bot and reaction.message.content == "try me":
        await reaction.remove(user)
        await reaction.message.add_reaction(reaction.emoji)
Posted by: Guest on January-24-2021

Code answers related to "how to make a bot send a message with a reaction discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language