SaveText.Ru

Доп команда
  1. bot.on("message", async message => {
  2.   if(message.author.bot) return;
  3.   if(message.channel.type === "dm") return;
  4.  
  5.   let prefix = botconfig.prefix;
  6.   let messageArray = message.content.split(" ");
  7.   let cmd = messageArray[0];
  8.   let args = messageArray.slice(1);
  9.  });
  10.  

Share with your friends:

Print