Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var api;
- var onCooldown = false;
- function handleMsg(data) {
- if (onCooldown) return;
- if (data.msg.toLowerCase().startsWith("!meme")) {
- var responses = [
- "Keek Moneybags",
- "thicc",
- "fat Penny tits",
- "Jarg draw muh ohsee",
- "muh OC",
- "mayo sea",
- "Sharks draw bara",
- "Let's quest!",
- "*drink",
- "*pet",
- "yay",
- "you meme loving fucks",
- "Square up",
- "smh tbh fam",
- "*tosses flash bang grenade*",
- "Hopes and Dreams and Thighs",
- "I s2g",
- "I'm a qt!",
- "fite me",
- "oh no",
- "lewdie",
- "Coco Pummel",
- "Waffuls a lewdie",
- "femAsriel's thunder thighs",
- "moneysisters",
- "I'm a robot! Beep boop!",
- "flashbangs for Cows!",
- "H cup crotchtits",
- "kissu",
- "Can't stop the helicopter!",
- "ha gotem",
- "CocoBot is not for lewd",
- "bestest dreshus",
- "*horse noises*",
- "Panic!",
- "Sharks let's art trade",
- "Locku a lewdie",
- "Jargon can't code a robot!",
- "Stroops!",
- "[Robot noises]",
- "bork",
- ];
- api.Messages.send(responses[Math.floor(Math.random() * responses.length)], data.channel);
- onCooldown = true;
- setTimeout(function() { onCooldown = false; }, 5000 );
- return;
- }
- var nice_blog = [
- "bye guys",
- "be back later",
- "brb",
- ];
- nice_blog.forEach(function (item) {
- if (data.msg.toLowerCase().indexOf(item) !== -1) {
- onCooldown = true;
- setTimeout(function() { onCooldown = false; }, 5000 )
- api.Messages.send("Ok, see you later!", data.channel);
- }
- });
- if (data.msg.toLowerCase().startsWith("wew") && data.msg.toLowerCase().indexOf("lad") === -1) {
- api.Messages.send("lad", data.channel);
- } else if (data.msg.toLowerCase().startsWith("lad") && data.msg.toLowerCase().indexOf("wew") === -1) {
- api.Messages.send("wew", data.channel);
- }
- if (data.msg.toLowerCase().startsWith("ayy") && data.msg.toLowerCase().indexOf("lmao") === -1) {
- api.Messages.send("lmao", data.channel);
- } else if (data.msg.toLowerCase().startsWith("lmao") && data.msg.toLowerCase().indexOf("ayy") === -1) {
- api.Messages.send("ayy", data.channel);
- }
- }
- module.exports = {
- meta_inf: {
- name: "SHITPOSTING",
- version: "1.0.0",
- description: "SHITPOSTING",
- author: "Wolvan"
- },
- load: function (_api) {
- api = _api;
- },
- start: function () {
- api.Events.on("userMsg", handleMsg);
- },
- stop: function () {
- api.Events.removeListener("userMsg", handleMsg);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement