aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-10-21 12:51:04 -0400
committerUnknown <Alee14498@gmail.com>2017-10-21 12:51:04 -0400
commit0c1fe9d39749f93ed2fb6d741c04ea4ff210908f (patch)
treede90fadd8b7e081950c5073991f096afdd5df719 /bot.js
parent9982f9092d3b8a691edddb7aa1d723dcbed2dfde (diff)
downloadAstralMod-ATC-0c1fe9d39749f93ed2fb6d741c04ea4ff210908f.tar.gz
AstralMod-ATC-0c1fe9d39749f93ed2fb6d741c04ea4ff210908f.tar.bz2
AstralMod-ATC-0c1fe9d39749f93ed2fb6d741c04ea4ff210908f.zip
Added a new command (hopefully no crashes)
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js13
1 files changed, 9 insertions, 4 deletions
diff --git a/bot.js b/bot.js
index c617e8e..6f7ec1a 100644
--- a/bot.js
+++ b/bot.js
@@ -1,7 +1,7 @@
/****************************************
*
* AstralMod: Moderation bot for AstrelTaser Cantral and other Discord servers
- * Copyright (C) 2017 Victor Tran and Rylan Arbour
+ * Copyright (C) 2017 Victor Tran, Rylan Arbour and Alee14
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1029,7 +1029,8 @@ function messageChecker(oldMessage, newMessage) {
"about Tells you about AstralMod\n" +
"copyright Tells you about AstralMod\n" +
"license Tells you about AstralMod\n" +
- "warranty Tells you about AstralMod\n\n" +
+ "warranty Tells you about AstralMod\n" +
+ "contribute Tells you about AstralMod\n\n" +
"ping|pong Asks AstralMod to reply with a message\n\n" +
"These commands need to be prefixed with bot:\n" +
"```";
@@ -1038,14 +1039,18 @@ function messageChecker(oldMessage, newMessage) {
case "about":
case "license":
message.author.send(
- "AstralMod " + amVersion + " - Copyright © Victor Tran and Rylan Arbour 2017. Licensed under the GNU General Public License, version 3 (or any later version). For more info, type in bot:copyright in a channel with AstralMod.\n" +
+ "AstralMod " + amVersion + " - Copyright © Victor Tran, Rylan Arbour and Alee14 2017. Licensed under the GNU General Public License, version 3 (or any later version). For more info, type in bot:copyright in a channel with AstralMod.\n" +
"https://github.com/vicr123/AstralMod"
);
commandProcessed = true;
break;
+ case "contribute":
+ message.reply("Ooh! I can see you want to contribute to this bot :D\nHere's the link to my repo: https://github.com/Alee14/AstralMod-1.0\nAnd if you want to see the original AstralMod here's the link: https://github.com/vicr123/AstralMod");
+ commandProcessed = true;
+ break;
case "copyright":
message.author.send(
- "Copyright (C) 2017 Victor Tran and Rylan Arbour\n\n" +
+ "Copyright (C) 2017 Victor Tran, Rylan Arbour and Alee14\n\n" +
"This program is free software: you can redistribute it and/or modify\n" +
"it under the terms of the GNU General Public License as published by\n" +