send message on_message discord py code example
Example 1: discord.py send image
await channel.send(file=discord.File('path/to/image.png'))
Example 2: discord py get user by id
user = bot.get_user(user_id)
await channel.send(file=discord.File('path/to/image.png'))
user = bot.get_user(user_id)