i can feel the day where i don't need to test anything

This commit is contained in:
Unknown 2018-03-30 21:20:03 -04:00
parent d9d41aa8a2
commit b4e267a6bc
6 changed files with 12 additions and 12 deletions

View file

@ -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;

View file

@ -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!');

View file

@ -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.');

View file

@ -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');

View file

@ -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'));

View file

@ -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;