Answers for "discord.py get channel message was sent to"

9

how to send a message in a specific channel discord.py

channel = client.get_channel(12324234183172)
await channel.send('hello')
Posted by: Guest on January-19-2020
1

discord.py get id of sent message

sent_message = await ctx.send("I want to get the ID of this message")
print(message.id)
Posted by: Guest on August-23-2021

Code answers related to "discord.py get channel message was sent to"

Python Answers by Framework

Browse Popular Code Answers by Language