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/voice/pause.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands/voice/pause.ts') diff --git a/src/commands/voice/pause.ts b/src/commands/voice/pause.ts index c2475d2..1f23661 100644 --- a/src/commands/voice/pause.ts +++ b/src/commands/voice/pause.ts @@ -12,6 +12,10 @@ module.exports = class PauseVoice extends Command { examples: ['uwu!pause'], clientPermissions: ['SPEAK', 'CONNECT', 'SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, }); } run(msg: CommandoMessage) { -- cgit v1.2.3