Skip to content

Commit

Permalink
screenshots cooldown to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
lluisd committed May 29, 2024
1 parent 23f5bcb commit d4877e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/messenger.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
}
}
Expand All @@ -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'])
}
}
Expand Down

0 comments on commit d4877e3

Please sign in to comment.