discord bot py get channel from ID code example
Example: discord py fetch channel by id
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id