Skip to content

Commit

Permalink
V1.14.26 | General Kenobi
Browse files Browse the repository at this point in the history
+By popular demand, "hello there" has been added as a passive command, will return and prevent running "hello" as well.
  • Loading branch information
SkyeRangerDelta committed Sep 25, 2018
1 parent 377b559 commit f372394
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Core/coresys.json
@@ -1,3 +1,3 @@
{
"fsversion": "1.14.25"
"fsversion": "1.14.26"
}
12 changes: 12 additions & 0 deletions fishsticks.js
Expand Up @@ -182,27 +182,38 @@ fishsticks.on('message', async msg => {
if (msg.content == "ni hao" || msg.content == "Ni Hao" || msg.content == "Ni Hao Ma" || msg.content == "ni hao ma") {
msg.reply("Hao!");
fishsticks.commandSuccess++;
return;
}

if (msg.content.toLowerCase() == "hello there") {
msg.reply("General Kenobi", {files: ["./images/grevious.gif"]});
fishsticks.commandSuccess++;
return;
}

if (msg.content == "Order 66" || msg.content == "order 66") {
msg.channel.send("**Execute all the Jedis**", {files: ["./images/dewit.gif"]});
fishsticks.commandSuccess++;
return;
}

if (msg.content.toLocaleLowerCase() == "fire phasers") {
msg.channel.send("**Aye Captain; firing all phaser banks.**", {files: ["./images/phasers.gif"]});
fishsticks.commandSuccess++;
return;
}

if (msg.content.includes("good music") || msg.content.includes("great music")) {
msg.channel.send("*Did someone say, `music`?*", {files: ["./sounds/sepWays.mp3"]});
fishsticks.commandSuccess++;
return;
}

for (var i = 0; i < svuArr.length; i++) {
if (msg.content.includes(svuArr[i])) {
msg.reply("Excuse me!? We are going to have to have a talk about where your standards lie and where they should be. Keep that attitude up and I'll have to take extra measures... (automatic 15 respect point loss).\n\n *Very idea...\nHating fishsticks...*")
}
return;
}

if (msg.content.includes("thonk")) {
Expand All @@ -212,6 +223,7 @@ fishsticks.on('message', async msg => {

msg.channel.send("Hehe. *Thonk*", {files: ["./images/thonk.png"]});
fishsticks.commandSuccess++;
return;
}
else { //MESSAGE COMMAND HANDLER
if (msg.author.fishsticks) return
Expand Down
Binary file added images/greivous.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f372394

Please sign in to comment.