Discord.js机器人有没有办法检查提及?

时间:2020-09-22 18:47:33

标签: node.js discord discord.js bots

1 个答案:

答案 0 :(得分:0)

只需添加一个

if (!usernamegedUser) return message.channel.send("Try again, except mention someone");

const usernamegedUser = message.mentions.users.first();