From f57682985559c4ff3fb4d15deb71dd29c4fed6b2 Mon Sep 17 00:00:00 2001 From: Alee Date: Mon, 21 Oct 2019 21:44:05 +0000 Subject: Fixed timeout and forcedrop --- commands/Pokemon/forcedrop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/Pokemon') diff --git a/commands/Pokemon/forcedrop.js b/commands/Pokemon/forcedrop.js index 50a9acf..053bfe8 100644 --- a/commands/Pokemon/forcedrop.js +++ b/commands/Pokemon/forcedrop.js @@ -1,6 +1,6 @@ /** ************************************** * - * Ban: Plugin for PokeBot that powers the PokeWorld gym system. + * ForceDrop: Plugin for PokeBot that powers the PokeWorld gym system. * Copyright (C) 2018 TheEdge, jtsshieh, Alee * * Licensed under the Open Software License version 3.0 @@ -11,7 +11,7 @@ exports.run = async (bot, msg) => { const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id); if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Only whitelisted servers can use this command. Sorry!'); - if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permssion to ban members.'); + if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permission to force drop.'); 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('This gym does not have an owner.'); -- cgit v1.2.3