From d4877e358e1a9540185709a5c6ff5fb57e10cf0c Mon Sep 17 00:00:00 2001 From: Lluis Date: Thu, 30 May 2024 00:25:38 +0200 Subject: [PATCH] screenshots cooldown to 30s --- lib/messenger.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/messenger.js b/lib/messenger.js index 28d374e..2689403 100644 --- a/lib/messenger.js +++ b/lib/messenger.js @@ -173,10 +173,10 @@ class Messenger { this.cooldown.screenshot = true setTimeout(() => { this.cooldown.screenshotTF = false - }, 5000) + }, 30000) setTimeout(() => { this.cooldown.screenshot = false - }, 5000) + }, 30000) return handlers.tempsDeFlors.captureScreenshot(target, textSplit[1], this.bot, context['display-name'], context['room-id']) } } @@ -186,7 +186,7 @@ class Messenger { this.cooldown.screenshot = true setTimeout(() => { this.cooldown.screenshot = false - }, 5000) + }, 30000) return handlers.stream.captureScreenshot(target, this.bot, this.notifier.bot, context['display-name'], context['room-id']) } }