因此,我需要一种方法将在机器人的dm中发送的消息转发到我的服务器中的特定通道。这是我到目前为止得到的代码: execute(message, args) { if(message.channel.type == "dm"){} else { message.channel.send('Send me this in the dm</em
如何让它在特定时间向特定用户发送消息?消息将通过DM发送,而不是通道,也不是标记。基本上,我希望机器人在某个系统时间(例如2 2PM) DM一个用户(例如用户id: 163640941431881728)一条消息(例如: hi)。到目前为止的代码:const bot = new Discord.Client();
va