discord python can't use client.event and client.command code example Example: send image discord.py await channel.send(file=discord.File('my_image.png'))