aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/Information/gettingstarted.js44
-rw-r--r--commands/Music/play.js2
-rw-r--r--commands/Music/skip.js2
-rw-r--r--commands/Pokemon/claim.js1
-rw-r--r--commands/Pokemon/drop.js1
-rw-r--r--commands/Pokemon/join.js2
-rw-r--r--commands/Pokemon/leave.js2
-rw-r--r--commands/Pokemon/tradegym.js3
-rw-r--r--commands/Utility/suggest.js1
9 files changed, 55 insertions, 3 deletions
diff --git a/commands/Information/gettingstarted.js b/commands/Information/gettingstarted.js
new file mode 100644
index 0000000..6f916d2
--- /dev/null
+++ b/commands/Information/gettingstarted.js
@@ -0,0 +1,44 @@
+/** **************************************
+ *
+ * GettingStarted: Plugin for PokeBot that guides the user on how to start a journey.
+ * 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) => {
+ const { RichEmbed } = require('discord.js');
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+ msg.channel.send(
+ new RichEmbed()
+ .setColor(0x00ae86)
+ .setTitle('Getting Started in PokeWorld')
+ .addField('PokeCord', 'First off, we need to get you up and running in PokeCord!\n\nFirst, make sure to use the `p!start` command to pick a starter pokemon. Once you have done that, you can start using PokeCord related features in the server!')
+ .addField('Teams // Gyms', 'Next, you may join a team using PokeBot. To do this,run the `join` command. Now, you can start claiming gyms. To do this, run `p:claim` in a gym channel. If noone owns it, the gym will now be yours. If it is not yours, it will either tell you to lay off (if your team owns the gym), or it will ping the owner of the gym and tell them to battle you. If you lose said battle, you will not recieve the gym. Otherwise, the owner of the gym will have to drop it for you to claim. You can also trade gyms with other members using the `tradegym` command.')
+ .addField('The End of the Introduction', 'Now that you have done all of this, you are ready to start your journey in the digital region! Chat with people, make friends, and most importantly, have fun!\n\n-The official "sentience" of the PokeWorld server!')
+ .setFooter('PokeBot Beta')
+ );
+ };
+
+ exports.conf = {
+ aliases: ['noobs', 'newcomers'],
+ guildOnly: true,
+ };
+
+ exports.help = {
+ name: 'gettingstarted',
+ description: 'Introduces you to the PokeWorld server!',
+ };
+ \ No newline at end of file
diff --git a/commands/Music/play.js b/commands/Music/play.js
index 8c93c59..cd22057 100644
--- a/commands/Music/play.js
+++ b/commands/Music/play.js
@@ -1,6 +1,6 @@
/** **************************************
*
- * Play: Plugin for PokeBot that performs moderation actions.
+ * Play: Plugin for PokeBot that performs music player actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
* This program is free software: you can redistribute it and/or modify
diff --git a/commands/Music/skip.js b/commands/Music/skip.js
index 435aacb..09ab165 100644
--- a/commands/Music/skip.js
+++ b/commands/Music/skip.js
@@ -1,6 +1,6 @@
/** **************************************
*
- * Skip: Plugin for PokeBot that performs moderation actions.
+ * Skip: Plugin for PokeBot that performs music player actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
* This program is free software: you can redistribute it and/or modify
diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js
index b3490c8..e22a944 100644
--- a/commands/Pokemon/claim.js
+++ b/commands/Pokemon/claim.js
@@ -19,6 +19,7 @@
* *************************************/
exports.run = async (bot, msg) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');
if (msg.channel.topic == 'Current Owner: *none*') {
let team;
diff --git a/commands/Pokemon/drop.js b/commands/Pokemon/drop.js
index 6b10ace..1746898 100644
--- a/commands/Pokemon/drop.js
+++ b/commands/Pokemon/drop.js
@@ -19,6 +19,7 @@
* *************************************/
exports.run = async (bot, msg) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');
if (msg.channel.topic == 'Current Owner: *none*') {
msg.reply('There is no owner for this gym. Claim it now with p:claim!');
diff --git a/commands/Pokemon/join.js b/commands/Pokemon/join.js
index 01af694..2eaa1bd 100644
--- a/commands/Pokemon/join.js
+++ b/commands/Pokemon/join.js
@@ -19,6 +19,8 @@
* *************************************/
exports.run = async (bot, msg, args) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+
if (args.length < 1) return msg.reply('Please choose a team to join');
const team = findTeam(msg, args[0]);
diff --git a/commands/Pokemon/leave.js b/commands/Pokemon/leave.js
index d2ca96c..11571c9 100644
--- a/commands/Pokemon/leave.js
+++ b/commands/Pokemon/leave.js
@@ -19,6 +19,8 @@
* *************************************/
exports.run = async (bot, msg) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+
if (msg.member.roles.find('name', 'Aqua')) {
msg.member.removeRole(msg.guild.roles.find('name', 'Aqua'));
msg.reply('Alright, you are not longer in team Aqua.');
diff --git a/commands/Pokemon/tradegym.js b/commands/Pokemon/tradegym.js
index f10e3fa..08f753c 100644
--- a/commands/Pokemon/tradegym.js
+++ b/commands/Pokemon/tradegym.js
@@ -19,7 +19,8 @@
* *************************************/
exports.run = async (bot, msg) => {
-
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');
let team;
if (msg.member.roles.find('name', 'Aqua')) team = 'Aqua';
diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js
index 80017d7..5345441 100644
--- a/commands/Utility/suggest.js
+++ b/commands/Utility/suggest.js
@@ -19,6 +19,7 @@
* *************************************/
exports.run = (bot, msg, args) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
const { RichEmbed } = require('discord.js');
bot.channels.find('name', 'suggestions').send(
new RichEmbed()