From 0d35c0116c38d1f8642e4c8d8f36509f7500bb05 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Mon, 27 Apr 2020 08:00:29 -0700 Subject: A New World, v8.0.0 - change some formatting - add throttling to all commands - change timout in welcome and clear - add another edge case to welcome and darling - use new mongo.connect params for stability - move some commands around - remove some tsingnores for idk in total, epic update 8) --- src/commands/moderation/addrole.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/commands/moderation/addrole.ts') 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 }) { -- cgit v1.2.3