summaryrefslogtreecommitdiff
path: root/src/commands/moderation/addrole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/addrole.ts')
-rw-r--r--src/commands/moderation/addrole.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/moderation/addrole.ts b/src/commands/moderation/addrole.ts
index ac0dbb6..93645a2 100644
--- a/src/commands/moderation/addrole.ts
+++ b/src/commands/moderation/addrole.ts
@@ -28,7 +28,12 @@ module.exports = class AddRoleModeration extends Command {
'uwu!addrole @sin#1337 @CoolRole',
'uwu!roleadd @sin#1337',
'uwu!roleadd @sin#1337 @CoolerRole'
- ]
+ ],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ guildOnly: true
});
}
run(msg: CommandoMessage, { userID, roleID }) {