how to display image discord python code example
Example 1: discord.py send image
await channel.send(file=discord.File('path/to/image.png'))
Example 2: send image discord.py
await channel.send(file=discord.File('my_image.png'))
await channel.send(file=discord.File('path/to/image.png'))
await channel.send(file=discord.File('my_image.png'))