How do I send a message to a channel discord PY? code example
Example 1: 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)
Example 2: send image discord.py
await channel.send(file=discord.File('my_image.png'))