Answers for "discord py how to get who send the mes"

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
0

discord py fetch channel by id

channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id
Posted by: Guest on January-29-2021

Code answers related to "discord py how to get who send the mes"

Python Answers by Framework

Browse Popular Code Answers by Language