discord.py send message content as file code example Example: discord.py send image await channel.send(file=discord.File('path/to/image.png'))