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