discord py not taking url code example Example: send image discord.py await channel.send(file=discord.File('my_image.png'))