diff options
| -rw-r--r-- | commands/slowdown.js | 4 |
1 files 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).`); |
