📌  相关文章
📜  discord.py 消息用户 - Python 代码示例

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

代码示例1
if message.content == "dm":
        await message.channel.send("Dming user")
        dm = await message.author.create_dm()  # Creates a dm channel with the user
        await dm.send("What you want to send")  # Sends the user the message