aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-25 13:15:14 -0400
committerTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-25 13:15:14 -0400
commit9ea4c22cec03efac388d19b1eddacf2f9d0fe106 (patch)
tree17cd8362e4f9f257dfaeb46db18d08c2945b9c9b /commands
parent160af861e8f4e831e156bb42c8a7ebfbab3e6f60 (diff)
downloadPokeBot-9ea4c22cec03efac388d19b1eddacf2f9d0fe106.tar.gz
PokeBot-9ea4c22cec03efac388d19b1eddacf2f9d0fe106.tar.bz2
PokeBot-9ea4c22cec03efac388d19b1eddacf2f9d0fe106.zip
Added some commands to invite and link to the git
Diffstat (limited to 'commands')
-rw-r--r--commands/Utility/git.js34
-rw-r--r--commands/Utility/invite.js34
2 files changed, 68 insertions, 0 deletions
diff --git a/commands/Utility/git.js b/commands/Utility/git.js
new file mode 100644
index 0000000..a648995
--- /dev/null
+++ b/commands/Utility/git.js
@@ -0,0 +1,34 @@
+/** **************************************
+ *
+ * Git: Plugin for PokeBot that provides gives the user information about the bot.
+ * Copyright (C) 2018 TheEdge, jtsshieh, Alee
+ *
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * *************************************/
+
+exports.run = (bot, msg) => {
+ msg.channel.send('The GitHub page for PokeBot can be found here: https://github.com/PokeWorld/PokeBot');
+ };
+
+ exports.conf = {
+ aliases: [],
+ guildOnly: true,
+ };
+
+ exports.help = {
+ name: 'git',
+ description: 'Gives the user a link to the git.',
+ };
+ \ No newline at end of file
diff --git a/commands/Utility/invite.js b/commands/Utility/invite.js
new file mode 100644
index 0000000..a64dfec
--- /dev/null
+++ b/commands/Utility/invite.js
@@ -0,0 +1,34 @@
+/** **************************************
+ *
+ * Invite: Plugin for PokeBot that provides gives the user information about the bot.
+ * Copyright (C) 2018 TheEdge, jtsshieh, Alee
+ *
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * *************************************/
+
+exports.run = (bot, msg) => {
+ msg.channel.send('You can invite me by visiting https://discordbots.org/bot/417096530596724737.');
+ };
+
+ exports.conf = {
+ aliases: [],
+ guildOnly: true,
+ };
+
+ exports.help = {
+ name: 'invite',
+ description: 'Gives the user a link to invite the bot.',
+ };
+ \ No newline at end of file