discord.py send message on message code example
Example 1: send message discord.py
await message.channel.send("Your message")
Example 2: discord.py fetch channel
await client.fetch_channel(channelId)
Example 3: discord py fetch channel by id
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id