discord.py command thread code example Example: send image discord.py await channel.send(file=discord.File('my_image.png'))