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