COED_LE

Untitled

Jan 23rd, 2021
1,110
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. client.on('message', function(message) {
  2. if(!message.guild || message.author.bot) return;
  3.     if(message.content.startsWith(prefix + "embed")) {
  4.       if(!message.member.hasPermission('ADMINISTRATOR')) return message.reply(`**> للاسف لا تملك البريمشن \`\`\`ADMINISTRATOR\`\`\`**`)
  5.  
  6.       let say = message.content.split(" ").slice(1).join(" ");
  7.  
  8.       const embed = new Discord.MessageEmbed()
  9.  
  10.       .setColor("RANDOM")
  11.  
  12.       .setDescription(`${say}`)
  13.  
  14.       message.channel.send(embed)
  15.  
  16.       message.delete()
  17. }
  18.  
  19. });
RAW Paste Data