diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-25 17:24:48 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-25 17:24:48 -0400 |
| commit | eae78f3070509963867a9d515c16c3d948b84ab7 (patch) | |
| tree | ddccc6ffec3ea98f14b9d8099e8995ec106bfbb6 | |
| parent | 7ffde44608542e3c38e3f6aad25b5ab0e49a9544 (diff) | |
| parent | 9ea4c22cec03efac388d19b1eddacf2f9d0fe106 (diff) | |
| download | PokeBot-eae78f3070509963867a9d515c16c3d948b84ab7.tar.gz PokeBot-eae78f3070509963867a9d515c16c3d948b84ab7.tar.bz2 PokeBot-eae78f3070509963867a9d515c16c3d948b84ab7.zip | |
Merge remote-tracking branch 'origin/master'
| -rw-r--r-- | commands/Utility/git.js | 34 | ||||
| -rw-r--r-- | commands/Utility/invite.js | 34 | ||||
| -rw-r--r-- | commands/Utility/suggest.js | 1 | ||||
| -rw-r--r-- | events/ready.js | 1 |
4 files changed, 69 insertions, 1 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 diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js index 05f4773..fae35db 100644 --- a/commands/Utility/suggest.js +++ b/commands/Utility/suggest.js @@ -19,7 +19,6 @@ * *************************************/ exports.run = async (bot, msg, args) => { - if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); const { RichEmbed } = require('discord.js'); const suggestionChannel = await bot.plugins.settings.getStr('suggestions', msg.member.guild.id); bot.channels.find('id', suggestionChannel).send( diff --git a/events/ready.js b/events/ready.js index 71c037a..8b7a61b 100644 --- a/events/ready.js +++ b/events/ready.js @@ -27,6 +27,7 @@ module.exports = (bot) => { 'Finding pokemon', 'Type p:help for help', 'Fighting AstralMod', + 'Arrays start at 1', ]; bot.user.setPresence({ |
