SHARE
TWEET

Untitled

a guest Mar 24th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. client.on('message', message => {
  2.     var prefix = '§';//هنا البريفيكس
  3.     if (message.content.startsWith(prefix + 'reject')) {//هنا الأمر
  4.         if (message.author.bot) return;
  5.         if (!message.guild) return;
  6.         let Room = message.guild.channels.find(`name`, 'accept-denied');//هنا ضع إسم الروم
  7.         let user = message.mentions.users.first();
  8.         let embedreject = new Discord.RichEmbed()/
  9.         .setColor('RANDOM')//
  10.         .setAuthor(user.username,user.avatarURL)
  11.         .setTitle('» `لم يتم قبولك كإداري` :x: ')//هنا تقدر تغير الكلام حق الرسالة
  12.         .setThumbnail(message.author.avatarURL)
  13.         Room.sendEmbed(embedreject);
  14.     }
  15. });
  16.  
  17. client.on('message', message => {
  18.     var prefix = '§';//هنا البريفيكس
  19.     if (message.content.startsWith(prefix + 'accept')) {
  20.         if (message.author.bot) return;
  21.         if (!message.guild) return;
  22.         let Room = message.guild.channels.find(`name`, 'accept-denied');//هنا ضع إسم الروم
  23.         let user = message.mentions.users.first();
  24.         let embedreject = new Discord.RichEmbed()
  25.         .setColor('RANDOM')
  26.         .setAuthor(user.username,user.avatarURL)
  27.         .setTitle('» `تم قبولك كإداري` :white_check_mark:  ')
  28.         .setThumbnail(message.author.avatarURL)
  29.         Room.sendEmbed(embedreject);
  30.     }
  31. });//By JustMeAlone && EditeD By JuStMeAlone
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
 
Top