send message to channel command is in discord code example
Example: send message to specific channel discord.py
channel = client.get_channel(12324234183172)
await channel.send('hello')
channel = client.get_channel(12324234183172)
await channel.send('hello')