📜  关于消息 discord py - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:06.483000             🧑  作者: Mango

代码示例1
@bot.event
async def on_message(message):
    if message.content == "pong":
        await message.channel.send('ping')