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/queue.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands/voice/queue.ts') diff --git a/src/commands/voice/queue.ts b/src/commands/voice/queue.ts index 70d6e7c..3516a2e 100644 --- a/src/commands/voice/queue.ts +++ b/src/commands/voice/queue.ts @@ -31,6 +31,10 @@ module.exports = class QueueVoice extends Command { ], 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