discord.py send message to specific channel code example
Example 1: how to send a message in a specific channel discord.py
channel = client.get_channel(12324234183172)
await channel.send('hello')
Example 2: how to send a message in a specific channel discord.py
message = await channel.send('hmm…')
message_id = message.id
Example 3: how to send a message in a specific channel discord.py
channel = client.get_channel(12324234183172) #channel id here
await message.channel.send('hello')