Advertisement
Guest User

Untitled

a guest
Mar 21st, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. var api;
  2. var onCooldown = true;
  3. if (data.msg.toLowerCase().startsWith("!meme")) {
  4. var responses = [
  5. "Keek Moneybags",
  6. "thicc",
  7. "fat Penny tits",
  8. "Jarg draw muh ohsee",
  9. "muh OC",
  10. "mayo sea",
  11. "Sharks draw bara",
  12. "Let's quest!",
  13. "*drink",
  14. "*pet",
  15. "yay",
  16. "you meme loving fucks",
  17. "Square up",
  18. "smh tbh fam",
  19. "*tosses flash bang grenade*",
  20. "Hopes and Dreams and Thighs",
  21. "I s2g",
  22. "I'm a qt!",
  23. "fite me",
  24. "oh no",
  25. "lewdie",
  26. "Coco Pummel",
  27. "Waffuls a lewdie",
  28. "femAsriel's thunder thighs",
  29. "moneysisters",
  30. "I'm a robot!",
  31. "flashbangs for Cows!",
  32. "H cup crotchtits",
  33. "kissu",
  34. "Can't stop the helicopter!",
  35. "ha gotem",
  36. "CocoBot is not for lewd",
  37. "bestest dreshus",
  38. "*horse noises*",
  39. "Panic!",
  40. "Sharks let's art trade",
  41. "Locku a lewdie",
  42.  
  43. ];
  44. api.Messages.send(responses[Math.floor(Math.random() * responses.length)], data.channel);
  45. }
  46. if (onCooldown) return;
  47. var nice_blog = [
  48. "bye guys",
  49. "be back later",
  50. "brb",
  51. ];
  52. nice_blog.forEach(function (item) {
  53. if (data.msg.toLowerCase().indexOf(item) !== -1) {
  54. onCooldown = true;
  55. setTimeout(function() { onCooldown = false; }, 5 )
  56. api.Messages.send("Ok, see you later!", data.channel);
  57. }
  58. });
  59. if (data.msg.toLowerCase().startsWith("wew") && data.msg.toLowerCase().indexOf("lad") === -1) {
  60. api.Messages.send("lad", data.channel);
  61. } else if (data.msg.toLowerCase().startsWith("lad") && data.msg.toLowerCase().indexOf("wew") === -1) {
  62. api.Messages.send("wew", data.channel);
  63. if (data.msg.toLowerCase().startsWith("ayy") && data.msg.toLowerCase().indexOf("lmao") === -1) {
  64. api.Messages.send("lmao", data.channel);
  65. } else if (data.msg.toLowerCase().startsWith("lmao") && data.msg.toLowerCase().indexOf("ayy") === -1) {
  66. api.Messages.send("ayy", data.channel);
  67. }
  68. }
  69. module.exports = {
  70. meta_inf: {
  71. name: "SHITPOSTING",
  72. version: "1.0.0",
  73. description: "SHITPOSTING",
  74. author: "Wolvan"
  75. },
  76. load: function (_api) {
  77. api = _api;
  78. },
  79. start: function () {
  80. api.Events.on("userMsg", handleMsg);
  81. },
  82. stop: function () {
  83. api.Events.removeListener("userMsg", handleMsg);
  84. }
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement