Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. const botSettings = require("./botsettings.json");
  2. const Discord = require("discord.js");
  3.  
  4. const bot = new Discord.Client({disableEveryone: true});
  5.  
  6. const memsy = ['./1.png', './2.jpg', './3.jpg', './4.jpg'];
  7.  
  8. const Hentaice = ['./a.jpg', './b.jpg', './c.jpg', './d.jpg', './e.jpg', './f.gif'];
  9.  
  10. const path = ("./m/");
  11.  
  12. bot.on("ready", async () => {
  13. console.log("Bot is ready! "+bot.user.username);
  14.  
  15. try {
  16. link = await bot.generateInvite(["ADMINISTRATOR"]);
  17. console.log(link);
  18. }catch(e) {
  19. console.log(e.stack);
  20. }
  21. });
  22.  
  23. bot.on("message", async message => {
  24. if(message.author.bot) return;
  25. if(message.channel.type === "dm") return;
  26.  
  27. messageArray = message.content.split(" ");
  28. command = messageArray[0];
  29. args = messageArray.slice(1);
  30.  
  31.  
  32.  
  33. if(!command.startsWith(botSettings.prefix)) return;
  34.  
  35. if(command === botSettings.prefix+`AAA`) {
  36. message.channel.send("Kutas kozła");
  37. }
  38. if(command === botSettings.prefix+`Pedau`) {
  39. message.channel.send("Jeb sie kurwo :upside_down:");
  40. }
  41. if(command === botSettings.prefix+`Jajamnieswedza`) {
  42. message.channel.send("To sie podrap :cherries: ");
  43. }
  44. if(command === botSettings.prefix+`cipka`) {
  45. message.channel.send(new Discord.Attachment("./Kutas.jpg", "Kutas.jpg"));
  46. }
  47. if(command === botSettings.prefix+`kurczaki`) {
  48. message.channel.send("Ziemniaki");
  49. }
  50. if(command === botSettings.prefix+`ziemniaki`) {
  51. message.channel.send("Kurczaki");
  52. }
  53. if(command === botSettings.prefix+`chuj`) {
  54. message.channel.send("Nie klnij kurwo");
  55. }
  56. if(command === botSettings.prefix+`love`) {
  57. message.channel.send(new Discord.Attachment("./love.gif", "love.gif"));
  58. }
  59. if(command === botSettings.prefix+`meme`) {
  60. message.channel.send(`Łap!`);
  61. message.channel.send(new Discord.Attachment(memsy[Math.floor(Math.random() * memsy.length)]));
  62. }
  63. if(command === botSettings.prefix+`zawod?`) {
  64. message.channel.send("Andwonkant");
  65. }
  66. if(command === botSettings.prefix+`hentai`) {
  67. message.channel.send("Pervert!");
  68. message.channel.send(new Discord.Attachment(Hentaice[Math.floor(Math.random() * Hentaice.length)]));
  69. }
  70. if(command === botSettings.prefix+`zdj`) {
  71. message.channel.send(new Discord.Attachment(path[Math.floor(Math.random() * path.length)]));
  72. }
  73. });
  74.  
  75. bot.login(botSettings.token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement