【问题标题】:Discord.js bot is there a way to check mention?Discord.js 机器人有没有办法检查提及?
【发布时间】:2021-01-08 22:43:09
【问题描述】:

【问题讨论】:

  • 请勿提供代码图片。

标签: node.js discord discord.js bots


【解决方案1】:

只需添加一个

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

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

【讨论】:

    猜你喜欢
    • 2021-07-08
    • 2021-04-02
    • 2021-01-23
    • 2020-08-09
    • 2021-01-06
    • 2022-01-08
    • 2020-12-05
    • 2021-06-02
    • 2020-09-08
    相关资源
    最近更新 更多