The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
St
By Guest on 16th May 2019 03:21:27 PM | Syntax: JAVA | Views: 2



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. const devs = ["الأيدي بتاعك"];
  2. const adminprefix = ["البرفكس"];
  3. client.on('message', message => {
  4.     var argresult = message.content.split(` `).slice(1).join(' ');
  5.       if (!devs.includes(message.author.id)) return;
  6.      
  7.   if (message.content.startsWith('.ply')) {
  8.     client.user.setGame(argresult);
  9.       message.channel.send(`**✅   ${argresult}**`)
  10.   } else
  11.      if (message.content === ("leave")) {
  12.     message.guild.leave();        
  13.   } else  
  14.   if (message.content.startsWith('.wt')) {
  15.   client.user.setActivity(argresult, {type:'WATCHING'});
  16.       message.channel.send(`**✅   ${argresult}**`)
  17.   } else
  18.   if (message.content.startsWith('.ls')) {
  19.   client.user.setActivity(argresult , {type:'LISTENING'});
  20.       message.channel.send(`**✅   ${argresult}**`)
  21.   } else
  22.   if (message.content.startsWith('.st')) {
  23.     client.user.setGame(argresult, "https://www.twitch.tv/idk");
  24.       message.channel.send(`****`)
  25.   }
  26.   if (message.content.startsWith('.setname')) {
  27.   client.user.setUsername(argresult).then
  28.       message.channel.send(`Changing The Name To ..**${argresult}** `)
  29. } else
  30. if (message.content.startsWith('.setavatar')) {
  31.   client.user.setAvatar(argresult);
  32.     message.channel.send(`Changing The Avatar To :**${argresult}** `);
  33. }
  34. });



  • Recent Pastes
  • Lala
    2 mins 55 secs ago
  • Fdsfd
    57 mins 42 secs ago
  • Sdfsdf s
    58 mins 38 secs ago
  • Surung
    1 hour 14 mins 18 secs ago
  • Cozy
    1 hour 16 mins 43 secs ago