From 76091b29fd87436375c153debab49cefff4c164f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 22 Mar 2021 19:54:34 -0400 Subject: [PATCH] Add throttling to screenshot --- commands/other/screenshot.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/other/screenshot.js b/commands/other/screenshot.js index 926615b8..7e15bca1 100644 --- a/commands/other/screenshot.js +++ b/commands/other/screenshot.js @@ -12,6 +12,10 @@ module.exports = class ScreenshotCommand extends Command { memberName: 'screenshot', description: 'Takes a screenshot of any webpage.', clientPermissions: ['ATTACH_FILES'], + throttling: { + usages: 1, + duration: 30 + }, credit: [ { name: 'Thum.io',