【问题标题】:Discord.js V14 - adding a regular message with an embed,Discord.js V14 - 添加带有嵌入的常规消息,
【发布时间】:2022-10-14 10:17:13
【问题描述】:

每个人!我正在尝试对嵌入中的角色执行 ping 操作,但它实际上并没有 ping 它们,它只是说提及。所以我认为只使用普通消息会更容易,但它不起作用。我试过这个: message.channel.send(({ content: "<@&121251251124>", embeds: [embed], })) 我也试过: message.channel.send(( "<@&121251251124>" + {embeds: [embed]} )) 但没有任何效果! 谢谢你的帮助!

【问题讨论】:

    标签: discord.js


    【解决方案1】:

    <@&角色>

    ^ 这是正确的语法,你需要一个ampstamp

    【讨论】:

      猜你喜欢
      • 2022-10-01
      • 1970-01-01
      • 2021-10-14
      • 2022-08-04
      • 2021-08-25
      • 2018-08-26
      • 2021-08-22
      • 2019-02-26
      相关资源
      最近更新 更多