get message by id discord py code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: discord py fetch channel by id
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id
user = bot.get_user(user_id)
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id