discord.py channel by name 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