discord py how to get who send the message code example
Example 1: discord.py send image
await channel.send(file=discord.File('path/to/image.png'))
Example 2: discord py fetch channel by id
channel = discord.utils.get(ctx.guild.channels, name=given_name)
channel_id = channel.id