Browse Source

memes7

master
calexil 2 years ago
parent
commit
cea65c562b
2 changed files with 6 additions and 8 deletions
  1. 4
    6
      bot.js
  2. 2
    2
      bot.js~

+ 4
- 6
bot.js View File

@@ -13,6 +13,10 @@ const responseObject = {
"best girl": "Big Band.",
"best grill": "Big Band.",
"best grill?": "Big Band.",
"best gurl": "Big Band.",
"best gurl?": "Big Band.",
"best booty": "Squigly, Duh.",
"best booty?": "Squigly, Duh.",
"hi": "Hello there, I'm a dumb bot written by [@calexil#9270](https://github.com/calexil) and [@Timberius#8180](https://github.com/TimboKZ) , you can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md",
"commands": "You can see my commands here: https://github.com/calexil/BansheeBot/blob/master/Commands.md"
};
@@ -54,12 +58,6 @@ client.on("message", (message) => {
}
});

/*object.keys(responseObject).forEach(function(phrase) {
if (my_input.contains(phrase) {
response = phrase_responses[phrase];
bot.sendMessage(message, response);
}
});*/

// Ping server every 15 minutes to prevent web dyno from sleeping
var http = require("http");

+ 2
- 2
bot.js~ View File

@@ -54,12 +54,12 @@ client.on("message", (message) => {
}
});

object.keys(responseObject).forEach(function(phrase) {
/*object.keys(responseObject).forEach(function(phrase) {
if (my_input.contains(phrase) {
response = phrase_responses[phrase];
bot.sendMessage(message, response);
}
});
});*/

// Ping server every 15 minutes to prevent web dyno from sleeping
var http = require("http");

Loading…
Cancel
Save