From b48c0c214ccf8cf436ec6915104288e68050e005 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 22 Dec 2020 10:13:49 -0500 Subject: Fixed some things --- commands/slowdown.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/slowdown.js b/commands/slowdown.js index 55e46e7..c9fc611 100644 --- a/commands/slowdown.js +++ b/commands/slowdown.js @@ -18,8 +18,8 @@ * * *************************************/ module.exports.run = async (client, message, args) => { - if (!message.member.permissions.has('MANAGE_CHANNELS')) return message.reply('It looks like that you don\'t have the permissions to slowdown messages.'); - if (isNaN(args[0])) return message.reply('Please put the valid number of messages to purge.'); + if (!message.member.permissions.has('MANAGE_CHANNELS')) return message.reply('It looks like that you don\'t have the permissions to slowdown channels.'); + if (isNaN(args[0])) return message.reply('Please input a valid number to slowdown a channel.'); await message.channel.setRateLimitPerUser(args[0]); message.channel.send(`This channel has been ratelimited for ${args[0]} second(s).`); -- cgit v1.2.3