最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Discord.js Get user from reactions **Updated** - Stack Overflow

programmeradmin0浏览0评论

Update

I have updated the code that is currently working for me, It will now create the channel and then check to see if the channel is create. It will only allow 1 user to create a channel you will not be able to create a T5 channel and a T4 channel as the same user.

Thank you and I hope you all have a great Christmas.

Client.on("message", async (message) => {
  if (message.author.Client || message.channel.type === "dm") return;

  let messageArray = message.content.split(" ");
  let cmd = messageArray[0];
  let args = message.content.substring(message.content.indexOf(" ") + 1);

  if (cmd === `${prefix}battle`) {
    let embed = new Discord.MessageEmbed()
      .setTitle("⚔️ 1657 Battles! ⚔️")
      .setDescription("React to this message to join the battle.")
      .addFields(
        { name: "
发布评论

评论列表(0)

  1. 暂无评论