discord python user messages send abfragen 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