SHARE
TWEET

морж

a guest Jul 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  if (message.content.startsWith("/newsp")){
  2.         if (!message.member.hasPermission("ADMINISTRATOR")) return
  3.         const args = message.content.slice(`/newsp`).split(/ +/);
  4.        
  5.         if (!message.member.hasPermission("ADMINISTRATOR")) return message.delete();
  6.         let textforobz = "";
  7.         const embed = new Discord.RichEmbed()
  8.         .setTitle("**Заявления на пост модератора группы**")
  9.         .setColor("#FF8E01")
  10.         .setDescription()
  11.         .setFooter("Набор на пост модератора дискорда Yuma!", message.guild.iconURL)
  12.         .setImage()
  13.         .setTimestamp()
  14.         .addBlankField(false)
  15.         .addField("")
  16.         .addBlankField(false)
  17.         .addField("")
  18.         .addBlankField(false)
  19.         .addField("**Дополнительные ссылки**", "\nУзнать подробности вы сможете в <#" + message.guild.channels.find(c => c.name == 'support').id + ">**");
  20.         message.channel.send(textforobz, {embed});
  21.         return message.delete()
  22.         }
  23.       });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top