Answers for "how to send message to mentioned channel discord.py"

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

store message sent by user in string discord py

response = client.wait_for_message(author=ctx.message.author, timeout=30) 
myvar = response.content  

Make sure to Define ctx and message if you want it to be controlled by a command
Posted by: Guest on December-04-2020

Code answers related to "how to send message to mentioned channel discord.py"

Python Answers by Framework

Browse Popular Code Answers by Language