mirror of
https://github.com/UniverseDevGroup/PokeBot.git
synced 2025-01-22 17:32:00 -05:00
i can feel the day where i don't need to test anything
This commit is contained in:
parent
d9d41aa8a2
commit
b4e267a6bc
6 changed files with 12 additions and 12 deletions
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. 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;
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. 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!');
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
|
||||
if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permssion to ban members.');
|
||||
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg, args) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
|
||||
if (args.length < 1) return msg.reply('Please choose a team to join');
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
|
||||
if (msg.member.roles.find('name', 'Skull')) {
|
||||
msg.member.removeRole(msg.guild.roles.find('name', 'Skull'));
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
* *************************************/
|
||||
|
||||
exports.run = async (bot, msg) => {
|
||||
const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
|
||||
if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
|
||||
if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
|
||||
|
||||
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');
|
||||
let team;
|
||||
|
|
Loading…
Reference in a new issue