summaryrefslogtreecommitdiff
path: root/src/commands/moderation/removerole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/removerole.ts')
-rw-r--r--src/commands/moderation/removerole.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/moderation/removerole.ts b/src/commands/moderation/removerole.ts
index a4edc92..d796cb9 100644
--- a/src/commands/moderation/removerole.ts
+++ b/src/commands/moderation/removerole.ts
@@ -20,6 +20,11 @@ module.exports = class RemoveRoleModeration extends Command {
type: 'string'
}
],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ guildOnly: true,
userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'BAN_MEMBERS'],
clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'BAN_MEMBERS'],
examples: [
@@ -37,7 +42,7 @@ module.exports = class RemoveRoleModeration extends Command {
if (role) {
console.log(role)
member?.roles.remove(role)
- msg.reply(`The role **${role}** has been remove from **${member}**.`)
+ msg.reply(`The role **${role}** has been remove from **${member}**!`)
} else {
console.log(role)
msg.reply('Role is either non-existant or you might\'ve mispelled it.')