您好,需要向用戶發(fā)送 PM,我嘗試了這個命令msg.author.send("text")但是當我嘗試運行此命令時出現(xiàn)此錯誤DiscordAPIError: Cannot send messages to this user at RequestHandler.execute (C:\Users\GreXLin85\Desktop\Projelerim\JS\project\node_modules\discord.js\src\rest\RequestHandler.js:154:13) at processTicksAndRejections (node:internal/process/task_queues:93:5) at async RequestHandler.push (C:\Users\GreXLin85\Desktop\Projelerim\JS\project\node_modules\discord.js\src\rest\RequestHandler.js:39:14) { method: 'post', path: '/channels/782746558520360960/messages', code: 50007, httpStatus: 403}
我無法向用戶發(fā)送任何消息
阿晨1998
2023-09-28 10:21:42