📌  相关文章
📜  discord js 向用户发送 dm - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:26.659000             🧑  作者: Mango

代码示例1
// In order for a bot to send a message, you need .send()
// the client is where the bot will send a message to(A channel, everywhere in the server, or a PM). 
// If you want the bot to PM a certain user, you can use message.author as your client. 
mesage.author.send("LOL, I just slid into your DMs :joy:";