是否有一种工作方式来等待用户回复(在DMS中),我的bot将询问一些事情,然后等待用户回复。我已经试过了,但是没有用,有人能帮我修一下吗?或者告诉我一个更好的方法。image or video proofs, all the proofs must be attached to the same message.**") });Caught excep
我有一些discord.js的代码,当用户加入服务器时,它会向用户发送DM。然后,他们必须输入提供给他们的密码,然后它将为他们提供一个允许他们访问频道的角色。const Discord = require('discord.js');
client.once('ready', ()the password given to you to gain access to the
我正在尝试使用discord.js在Discord上做一个公告机器人,当有人输入-na it DM's then with a embed,然后接受他们的输入,生成一个变量作为他们的输入,然后执行这个过程几次我得到的问题是,当我运行机器人然后执行-na命令时,它会给我一个错误: TypeError: Cannot read property 'awaitMessages‘of undefined。下面是我的代码: const allyAnnounce