Answers for "how to send a message to other guild in discord.py"

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
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 "how to send a message to other guild in discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language