aboutsummaryrefslogtreecommitdiff
path: root/commands/slowdown.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-12-22 10:13:49 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-12-22 10:13:49 -0500
commitb48c0c214ccf8cf436ec6915104288e68050e005 (patch)
tree7536419dc24388a3a67d8b282cf7a91e77e9558f /commands/slowdown.js
parent9a2f02a11d3c2de5e06725841bfa8d3c5dcf0fd3 (diff)
downloadAleeBot-b48c0c214ccf8cf436ec6915104288e68050e005.tar.gz
AleeBot-b48c0c214ccf8cf436ec6915104288e68050e005.tar.bz2
AleeBot-b48c0c214ccf8cf436ec6915104288e68050e005.zip
Fixed some things
Diffstat (limited to 'commands/slowdown.js')
-rw-r--r--commands/slowdown.js4
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).`);