diff options
| author | Alee <alee14498@gmail.com> | 2018-07-07 20:17:38 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-07-07 20:17:38 -0400 |
| commit | 80bb069022f4093eef81c9897b2c8e8e6ab07d34 (patch) | |
| tree | ea606955feba06f2fdcbbe4cf1a9860d3b17b854 /bot_discord.js | |
| parent | 300080d295f75bd01e365cde25f5d5ca7cbd848a (diff) | |
| download | AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.tar.gz AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.tar.bz2 AleeBot-80bb069022f4093eef81c9897b2c8e8e6ab07d34.zip | |
2.11.1 patch updatev2.11.1
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bot_discord.js b/bot_discord.js index 314553d..fab5d7c 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -232,7 +232,7 @@ client.on('message', (msg) => { if (msg.mentions != null && msg.mentions.users != null) {
if (msg.mentions.users.has("282547024547545109")){
if (msg.content.toLowerCase().includes("hello") || (msg.content.toLowerCase().includes("hi"))) {
- msg.reply("Hi there.");
+ msg.reply(`Hello ${msg.author.username}!`);
} else {
if (msg.content.toLowerCase().includes("shut") && msg.content.toLowerCase().includes("up")) {
switch (Math.floor(Math.random() * 1000) % 3) {
@@ -247,11 +247,17 @@ client.on('message', (msg) => { break;
}
} else if (msg.content.toLowerCase().includes("how") && msg.content.toLowerCase().includes("are") && msg.content.toLowerCase().includes("you")) {
- msg.reply("I'm doing OK, I suppose...")
+ msg.reply("I'm doing OK, I suppose...");
+ } else if (msg.content.toLowerCase().includes("ok") && msg.content.toLowerCase().includes("google")) {
+ msg.reply("Erm... I am not google, if you want to use Google here's the link: https://www.google.com");
+ } else if (msg.content.toLowerCase().includes("f") && msg.content.toLowerCase().includes("off")) {
+ msg.reply("Do you want a hammer? :hammer:");
+ } else if (msg.content.toLowerCase().includes("aleearmy")) {
+ msg.reply("Oh yeah.. that thing Alee made...");
}
}
}
-}
+ };
let prefixes = JSON.parse(fs.readFileSync("./storage/prefixes.json", "utf8"));
|
