discord.py send message to channel id 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: discord.py send image
await channel.send(file=discord.File('path/to/image.png'))
Example 3: how to send a message in a specific channel discord.py
message = await channel.send('hmm…')
message_id = message.id