Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.83 KB | None | 0 0
  1. const Discord = require('discord.js');
  2. const Baron1 = new Discord.Client();
  3.  
  4. /*/
  5. - This code was designed by ** Baron **
  6. - Discord id = "540456059278721024"
  7. - YouTube = "https://www.youtube.com/c/BaronTube"
  8. - Github = "https://github.com/Baron010"
  9. - If u got this code from any place except github, don't delete this message
  10. - If u wanna to post this in any discord server please put my ** CopyRight **.
  11. Happy Spamming :)
  12. /*/
  13. Baron1.on('ready', () => {
  14. let spamchannels = ['614780143105212417','614780175241969668','614780195303325717']; //الشنلات بدال الموجودين id ضيف
  15. let Rtime = Math.floor(Math.random() * (10000 - 5000 + 1)) + 5000 //All copyrights reserved to Baron
  16. let main = ['**اللهم صلى على سيدنا محمد**','**هل صليت على النبى اليوم**','**إِنَّ اللَّهَ وَمَلائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا**',
  17. '**اللهم اني اسالك الهدى والتقى والعفاف والغنى**','**اللَّهُمَّ إنِّي أعُوذُ بكَ مِنَ الهَمِّ والحَزَنِ، والعَجْزِ والكَسَلِ، والبُخْلِ، والجُبْنِ، وضَلَعِ الدَّيْنِ، وغَلَبَةِ الرِّجالِ**','**اللَّهمَّ أحسَنتَ خَلقي فأحسِن خُلُقي**',
  18. '**وَتُبْ عَلَيْنَا إِنَّكَ أَنْتَ التَّوَّابُ الرَّحِيمُ**','**رَبِّ اجْعَلْنِي مُقِيمَ الصَّلَاةِ وَمِن ذُرِّيَّتِي ۚ رَبَّنَا وَتَقَبَّلْ دُعَاءِ**','**اللهم إني أسألك علماً نافعاً ورزقاً طيباً متقبلاً**',
  19. '** اللهم إنك عفو كريم تحب العفو فاعف عني**','** اللهم إني أسألك من خير ما سألك منه نبيك محمد صلى الله عليه وسلم ونعوذ بك من شر ما استعاذ منه نبيك محمد صلى الله عليه**',
  20. '**اللّهم إنّي أسألك يا الله بأنك الواحد الأحد الصمد الذي لم يلد ولم يولد و لم يكن له كفواً أحد أن تغفر لي ذنوبي إنك أنت الغفور الرحيم**'] //All copyrights reserved to Baron
  21. function getRandomInt(numbers) { //All copyrights reserved to Baron
  22. return Math.floor(Math.random() * Math.floor(numbers));
  23. } //All copyrights reserved to Baron
  24. setInterval(() => {
  25. function makeid(length) { //All copyrights reserved to Baron
  26. var result = '';
  27. var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; //All copyrights reserved to Baron
  28. var charactersLength = characters.length;
  29. for ( var i = 0; i < length; i++ ) { //All copyrights reserved to Baron
  30. result += characters.charAt(Math.floor(Math.random() * charactersLength));
  31. }
  32. return result; //All copyrights reserved to Baron
  33. }
  34. let Rmain = main[Math.floor(Math.random() * main.length)]; //All copyrights reserved to Baron
  35. let Rcahnnel = spamchannels[Math.floor(Math.random() * spamchannels.length)];
  36. let channel = Baron1.channels.get(Rcahnnel) //All copyrights reserved to Baron
  37. channel.send(`${getRandomInt(10000)} ${makeid(5)} ${makeid(10)}\n`+'`'+`${getRandomInt(10000)+getRandomInt(10000)}`+'`'+` ${Rmain}`+`\n${makeid(5)} ${makeid(3)} ${makeid(10)} ${makeid(4)}`)
  38. }, Rtime); //All copyrights reserved to Baron
  39. setInterval(() => {
  40. let Rcahnnel = spamchannels[Math.floor(Math.random() * spamchannels.length)];
  41. let channel = Baron1.channels.get(Rcahnnel)
  42. channel.send("#daily")
  43. }, 28800000);
  44. });
  45.  
  46.  
  47. const prefix = ['#'];
  48.  
  49. Baron1.on('message', message => {
  50. if(message.content === prefix+'P'){
  51. message.channel.send('#profile')
  52. }
  53. });
  54.  
  55. Baron1.on('message', message => {
  56. if(message.content === prefix+'D'){
  57. message.channel.send('#daily')
  58. }
  59. });
  60.  
  61. Baron1.on('message', message => {
  62. if(message.content === prefix+'C'){
  63. message.channel.send('#credits')
  64. }
  65. });
  66.  
  67.  
  68.  
  69.  
  70.  
  71. const Discord2 = require('discord.js');
  72. const Baron2 = new Discord.Client();
  73.  
  74. /*/
  75. - This code was designed by ** Baron **
  76. - Discord id = "540456059278721024"
  77. - YouTube = "https://www.youtube.com/c/BaronTube"
  78. - Github = "https://github.com/Baron010"
  79. - If u got this code from any place except github, don't delete this message
  80. - If u wanna to post this in any discord server please put my ** CopyRight **.
  81. Happy Spamming :)
  82. /*/
  83. Baron2.on('ready', () => {
  84. let spamchannels = ['614788761993216021','614788870973816832','614788861750411294']; //الشنلات بدال الموجودين id ضيف
  85. let Rtime = Math.floor(Math.random() * (10000 - 5000 + 1)) + 5000 //All copyrights reserved to Baron
  86. let main = ['**اللهم صلى على سيدنا محمد**','**هل صليت على النبى اليوم**','**إِنَّ اللَّهَ وَمَلائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا**',
  87. '**اللهم اني اسالك الهدى والتقى والعفاف والغنى**','**اللَّهُمَّ إنِّي أعُوذُ بكَ مِنَ الهَمِّ والحَزَنِ، والعَجْزِ والكَسَلِ، والبُخْلِ، والجُبْنِ، وضَلَعِ الدَّيْنِ، وغَلَبَةِ الرِّجالِ**','**اللَّهمَّ أحسَنتَ خَلقي فأحسِن خُلُقي**',
  88. '**وَتُبْ عَلَيْنَا إِنَّكَ أَنْتَ التَّوَّابُ الرَّحِيمُ**','**رَبِّ اجْعَلْنِي مُقِيمَ الصَّلَاةِ وَمِن ذُرِّيَّتِي ۚ رَبَّنَا وَتَقَبَّلْ دُعَاءِ**','**اللهم إني أسألك علماً نافعاً ورزقاً طيباً متقبلاً**',
  89. '** اللهم إنك عفو كريم تحب العفو فاعف عني**','** اللهم إني أسألك من خير ما سألك منه نبيك محمد صلى الله عليه وسلم ونعوذ بك من شر ما استعاذ منه نبيك محمد صلى الله عليه**',
  90. '**اللّهم إنّي أسألك يا الله بأنك الواحد الأحد الصمد الذي لم يلد ولم يولد و لم يكن له كفواً أحد أن تغفر لي ذنوبي إنك أنت الغفور الرحيم**'] //All copyrights reserved to Baron
  91. function getRandomInt(numbers) { //All copyrights reserved to Baron
  92. return Math.floor(Math.random() * Math.floor(numbers));
  93. } //All copyrights reserved to Baron
  94. setInterval(() => {
  95. function makeid(length) { //All copyrights reserved to Baron
  96. var result = '';
  97. var characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; //All copyrights reserved to Baron
  98. var charactersLength = characters.length;
  99. for ( var i = 0; i < length; i++ ) { //All copyrights reserved to Baron
  100. result += characters.charAt(Math.floor(Math.random() * charactersLength));
  101. }
  102. return result; //All copyrights reserved to Baron
  103. }
  104. let Rmain = main[Math.floor(Math.random() * main.length)]; //All copyrights reserved to Baron
  105. let Rcahnnel = spamchannels[Math.floor(Math.random() * spamchannels.length)];
  106. let channel = Baron2.channels.get(Rcahnnel) //All copyrights reserved to Baron
  107. channel.send(`${getRandomInt(10000)} ${makeid(5)} ${makeid(10)}\n`+'`'+`${getRandomInt(10000)+getRandomInt(10000)}`+'`'+` ${Rmain}`+`\n${makeid(5)} ${makeid(3)} ${makeid(10)} ${makeid(4)}`)
  108. }, Rtime); //All copyrights reserved to Baron
  109. setInterval(() => {
  110. let Rcahnnel = spamchannels[Math.floor(Math.random() * spamchannels.length)];
  111. let channel = Baron2.channels.get(Rcahnnel)
  112. channel.send("#daily")
  113. }, 28800000);
  114. });
  115.  
  116.  
  117.  
  118. const prefix2 = ['#'];
  119.  
  120. Baron2.on('message', message => {
  121. if(message.content === prefix2+'P'){
  122. message.channel.send('#profile')
  123. }
  124. });
  125.  
  126. Baron2.on('message', message => {
  127. if(message.content === prefix2+'D'){
  128. message.channel.send('#daily')
  129. }
  130. });
  131.  
  132. Baron2.on('message', message => {
  133. if(message.content === prefix2+'C'){
  134. message.channel.send('#credits')
  135. }
  136. });
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. Baron1.login('NjE0NzgxODczMTU1MjExMjY0.XWEfBA.ALgnSLgbsZDiB2Arv8YnfVdhMzo');
  210. Baron2.login('NjE0Nzg5Njc4ODEzNjc1NTIx.XWElog.lbUmgiPBp9sUFMeBReHAHvFEfio');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement