JohnTomah

Untitled

Mar 12th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.33 KB | None | 0 0
  1. const devs1 = ["أيدي حقك هنا"]
  2. client.on("message",async message => {
  3. if(message.content === '#pl'){//البلاينق
  4. if (!devs1.includes(message.author.id)) return message.reply('**أنت لا تمتلك صلاحيات في البوت للأسف**')
  5.  
  6.  
  7.  
  8. let shop = '';
  9. let fillter = m => m.author.id === message.author.id
  10.  
  11. message.channel.send("**قم بكتابة البلاينق**").then(e => {
  12. message.channel.awaitMessages(fillter, { time: 60000, max: 1
  13. })
  14. .then(co => {
  15. shop = co.first().content;
  16. co.first().delete();
  17.  
  18. client.user.setGame(shop);
  19.  
  20.  
  21. })
  22. })
  23. }
  24. });
  25.  
  26.  
  27. client.on("message",async message => {
  28. if(message.content === '#wt'){//واتشنق
  29. if (!devs1.includes(message.author.id)) return message.reply('**أنت لا تمتلك صلاحيات في البوت للأسف**')
  30.  
  31.  
  32. let shwop = '';
  33. let fillter = m => m.author.id === message.author.id
  34.  
  35. message.channel.send("**قم بكتابة الواتشينق**").then(e => {
  36. message.channel.awaitMessages(fillter, { time: 60000, max: 1
  37. })
  38. .then(co => {
  39. shop = co.first().content;
  40. co.first().delete();
  41. // 90 + 40 + 20 + 20 + 10 + 20 = 200
  42. client.user.setActivity(shwop, {type:'WATCHING'});
  43.  
  44.  
  45.  
  46. })
  47. })
  48. }
  49. });
  50.  
  51. client.on("message",async message => {
  52. if(message.content === '#st'){//ستريمنق
  53. if (!devs1.includes(message.author.id)) return message.reply('**أنت لا تمتلك صلاحيات في البوت للأسف**')
  54.  
  55.  
  56. let shqop = '';
  57. let fillter = m => m.author.id === message.author.id
  58.  
  59. message.channel.send("**قم بكتابة الستريمنق**").then(e => {
  60. message.channel.awaitMessages(fillter, { time: 60000, max: 1
  61. })
  62. .then(co => {
  63. shop = co.first().content;
  64. co.first().delete();
  65. // 90 + 40 + 20 + 20 + 10 + 20 = 200
  66. client.user.setActivity(shqop,"https://www.twitch.tv/lightcodes"});
  67.  
  68.  
  69.  
  70. })
  71. })
  72. }
  73. });
Advertisement
Add Comment
Please, Sign In to add comment