Answers for "discord py message with image"

8

discord.py send image

await channel.send(file=discord.File('path/to/image.png'))
Posted by: Guest on July-03-2020
7

on message discord py

@bot.event
async def on_message(message):
    if message.content == "pong":
        await message.channel.send('ping')
Posted by: Guest on January-12-2021

Code answers related to "discord py message with image"

Python Answers by Framework

Browse Popular Code Answers by Language