owlbot_legacy.js 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. console.log("OwlBot is ready to destroy pussies!");
  2. const Discord = require("discord.js");
  3. const bot = new Discord.Client();
  4. bot.login("[REMOVED]");
  5. // Last updated
  6. bot.on("message", message => {
  7. if (message.author == bot.user) {
  8. return;
  9. }
  10. if (message.content == "€update") {
  11. message.channel.send(
  12. "> **The bot's source code was last updated on** `2020-10-04` **by** `Owly` making this **version 1.0.0**"
  13. );
  14. // message.channel.send("The bot's source code was last updated on YYYY-MM-DD by XXX");
  15. }
  16. });
  17. // Bot Activity Status
  18. bot.on("ready", () => {
  19. bot.user.setStatus("available");
  20. bot.user.setPresence({
  21. game: {
  22. name: "My wife left me in 1995 | €help",
  23. type: "STREAMING",
  24. url: "https://www.twitch.tv/monstercat"
  25. }
  26. });
  27. // Messages
  28. bot.on("message", message => {
  29. // Prevent bot from responding to its own messages
  30. if (message.author == bot.user) {
  31. return;
  32. }
  33. // Commands
  34. // Check if content of message is "€ping"
  35. if (message.content == "€ping") {
  36. // Call .send() on the channel object the message was sent in
  37. message.channel.send("h");
  38. }
  39. if (message.content == "€help") {
  40. message.channel.send(
  41. "To find more commands/credits for the bot, check out this URL: <https://github.com/NeoZones/OwlBot_Legacy>"
  42. );
  43. }
  44. if (message.content == "€time") {
  45. message.channel.send(
  46. "It is time https://owlman.neocities.org/odds/its_time.png"
  47. );
  48. }
  49. if (message.content == "€weather") {
  50. message.channel.send("I hope it's raining :) I love rain");
  51. }
  52. if (message.content == "€heather") {
  53. message.channel.send("<:owosneaky:523048376179359744>");
  54. }
  55. if (message.content == "€yiff") {
  56. bot.channels.get("518634475496931329").send("$sr yiff");
  57. }
  58. if (message.content == "€yaoi") {
  59. bot.channels.get("518634475496931329").send("$sr yaoi");
  60. }
  61. if (message.content == "€pr0n") {
  62. bot.channels.get("518634475496931329").send("https://owlman.neocities.org/odds/awi4r4.png");
  63. }
  64. if (message.content == "€furry") {
  65. bot.channels.get("518634475496931329").send("https://owlman.neocities.org/odds/party/received_381842359299468.png");
  66. }
  67. if (message.content == "€piss") {
  68. message.channel.send(
  69. "I’ve come to make an announcement, " +
  70. message.author.username +
  71. "’s a bitch ass mother fucker. They pissed on my fucking wife. That’s right, they took it little quilly dick out and they pissed on my fucking wife, and they said it dick was **THIS BIG**. And I said *“that’s disgusting!”* So I’m making a callout post on my __twitter.com__. " +
  72. message.author.username +
  73. ", you got a small dick, it’s the size of this walnut except **WAY** smaller. And guess what, here’s what my dong looks like: **PFFFFFFFFGJT**. That’s right baby. All point, no quills, no pillows, look at that it looks like two balls and a bong. They fucked my wife so guess what, I’m gonna **FUCK THE EARTH. THATS RIGHT THIS IS WHAT YOU GET,** ***__MY SUPER LAZER PISS!!__*** Except I’m not gonna piss on the earth, I’m gonna go higher. I’m pissing on the ***__MOOOOOON!!!!!!__*** How do you like that Obama? **I PISSED ON THE MOON YOU IDIOT!** You have twenty three hours before the piss droplets hit the fucking Earth! Now get out of my fucking sight before I piss on you too!"
  74. );
  75. }
  76. // Show all server emojis
  77. if (message.content === "€emojis") {
  78. const emojiList = message.guild.emojis.map(e => e.toString()).join(" ");
  79. message.channel.send(emojiList);
  80. }
  81. // Repeat what the user says
  82. if (message.content.startsWith("€say")) {
  83. message.channel.send(
  84. message.author.username + " says: " + message.content.replace("€say ", "")
  85. );
  86. }
  87. // Send a message through the bot
  88. if (message.content.startsWith("€send")) {
  89. message.delete(1);
  90. message.channel.send(message.content.replace("€send ", ""));
  91. }
  92. // Sin after sin
  93. if (message.content == "€music") {
  94. message.channel.send(
  95. "!p https://www.youtube.com/playlist?list=PLA68NtSTRIbpJkwBUpgN4aKSagBqQ7Sd8"
  96. );
  97. }
  98. // FFS bot
  99. if (message.content == "€fuck") {
  100. message.channel.send("Yeah, I'm working, twat");
  101. }
  102. // FFS bot
  103. if (
  104. message.content ==
  105. "https://tenor.com/view/milk-and-mocha-dance-dancing-music-gif-12302383"
  106. ) {
  107. message.channel.send("**YES, DANCE, DANCE!**");
  108. }
  109. // Check if the bots user was tagged in the message
  110. if (message.content.includes(bot.user.toString())) {
  111. // Send acknowledgement message
  112. message.channel.send(
  113. "Well you know what " + message.author.toString() + ", guess what?"
  114. );
  115. }
  116. if (
  117. ["what?", "piss?", "chicken butt?"].includes(message.content.toLowerCase())
  118. ) {
  119. message.channel.send("Chicken Butt");
  120. }
  121. // Colors roles Commands
  122. // Removed section as CyberBus now deals with this operation
  123. // GROUPS ROLES
  124. // Removed section as CyberBus now deals with this operation
  125. // SHIT OWLY WOULD SAY
  126. // Reply to single words
  127. if (message.content.toLowerCase() == "copyright") {
  128. message.channel.send("You mean that thing that holds back people?");
  129. }
  130. if (message.content.toLowerCase() == "h") {
  131. message.channel.send("I love my wife");
  132. }
  133. if (message.content.toLowerCase() == "+help") {
  134. message.channel.send("Shut the fuck up, RoboRandy, you wanna be OwlBot");
  135. }
  136. if (message.content.toLowerCase() == "a") {
  137. message.channel.send("quirky !!");
  138. }
  139. if (message.content.toLowerCase() == "i love your wife too") {
  140. message.channel.send("I'm so glad you're my wife's boyfriend");
  141. }
  142. if (message.content.toLowerCase() == "piss") {
  143. message.channel.send("Will you fuck off?");
  144. }
  145. if (message.content.toLowerCase() == "owo") {
  146. message.channel.send("https://owlman.neocities.org/odds/owo_fire.gif");
  147. }
  148. if (message.content.toLowerCase() == "metal") {
  149. message.channel.send("<:metal:605328047616294912>");
  150. }
  151. if (message.content.toLowerCase() == "<:catto:617090169400721470>") {
  152. message.channel.send("Stop posting that bloody cat emote");
  153. }
  154. if (message.content.toLowerCase() == ":catto:") {
  155. message.channel.send("Stop posting that bloody cat emote");
  156. }
  157. if (message.content.toLowerCase() == "brexit") {
  158. message.channel.send("Oh God...");
  159. }
  160. if (message.content.toLowerCase() == "are you a robot?") {
  161. message.channel.send("yeah?");
  162. }
  163. if (
  164. ["drunk", "beer", "alcohol", "whisky", "drinking", "wine"].includes(
  165. message.content.toLowerCase()
  166. )
  167. ) {
  168. message.channel.send("Fill her up!");
  169. }
  170. if (["minion", "minions"].includes(message.content.toLowerCase())) {
  171. message.channel.send("Oh dude, that is **SO EPIC**!");
  172. }
  173. if (["foot", "feet"].includes(message.content.toLowerCase())) {
  174. message.channel.send(
  175. "...If you are into that, I guess https://owlman.neocities.org/odds/myfoot.png"
  176. );
  177. }
  178. if (["libtard", "liberal"].includes(message.content.toLowerCase())) {
  179. message.channel.send(
  180. "https://owlman.neocities.org/odds/how_to_own_a_libtard_lol_follow_bigblonddaddy69_on_ig_for_more_epic_memes.gif"
  181. );
  182. }
  183. if (["owly", "cass"].includes(message.content.toLowerCase())) {
  184. message.channel.send(
  185. "https://owlman.neocities.org/odds/how_to_own_a_libtard_lol_follow_bigblonddaddy69_on_ig_for_more_epic_memes.gif"
  186. );
  187. }
  188. // If a user types "des" then CyberBus#9575 (bot) will respond with "pa", if you look at the code, you can work out the rest
  189. if (message.content.toLowerCase() == "pa") {
  190. message.channel.send("cito");
  191. }
  192. // Being nice and proper
  193. // Removed section as CyberBus now deals with this operation
  194. Reply to included words on messages
  195. if (message.content.toLowerCase().includes("tea")) {
  196. message.channel.send("O_O SOMEONE SAY TEA?");
  197. }
  198. if (message.content.toLowerCase().includes("doom")) {
  199. message.channel.send("**SOMEONE SAY DOOM???**");
  200. }
  201. if (message.content.toLowerCase().includes("rain")) {
  202. message.channel.send("**SOMEONE SAY RAIN????**");
  203. }
  204. // Check if the bots user was tagged in the message
  205. if (message.content.includes(bot.user.toString())) {
  206. // Send acknowledgement message
  207. message.channel.send(
  208. "Well you know what " + message.author.toString() + ", guess what?"
  209. );
  210. }
  211. if (
  212. ["what?", "piss?", "chicken butt?"].includes(message.content.toLowerCase())
  213. ) {
  214. message.channel.send("Chicken Butt");
  215. }
  216. });
  217. // Random answers from a single word
  218. function randomMessage() {
  219. var randomNumber = Math.round(Math.random() * 2); // 0, 1 or 2
  220. switch (randomNumber) {
  221. case 0:
  222. return "I shitted";
  223. case 1:
  224. return "I cummed";
  225. case 2:
  226. return "I pissed";
  227. }
  228. }
  229. bot.on("message", message => {
  230. if (message.content.toLowerCase() == "oof") {
  231. message.channel.send(randomMessage());
  232. }
  233. });