Answers for "discord.py send message in channel"

8

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

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

channel = client.get_channel(12324234183172) #channel id here
await channel.send('hello')
Posted by: Guest on April-24-2021
0

discord.py send messages

#plain text
await message.channel.send("content")

#with a embed
await message.channel.send("content", embed=embed_name)

#with a file/image
await message.channel.send("content", file="file/image path")
Posted by: Guest on August-04-2021

Code answers related to "discord.py send message in channel"

Python Answers by Framework

Browse Popular Code Answers by Language