Skip to content

Commit

Permalink
3 seconds coldown for screenshots3 seconds coldown for screenshots3
Browse files Browse the repository at this point in the history
  seconds coldown for screenshots
  • Loading branch information
lluisd committed May 15, 2024
1 parent c01eb3d commit e49eacb
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 @@ -169,10 +169,10 @@ class Messenger {
this.cooldown.screenshot = true
setTimeout(() => {
this.cooldown.screenshotTF = false
}, 2000)
}, 3000)
setTimeout(() => {
this.cooldown.screenshot = false
}, 30000)
}, 3000)
return handlers.tempsDeFlors.captureScreenshot(target, textSplit[1], this.bot, context['display-name'], context['room-id'])
}
}
Expand All @@ -182,7 +182,7 @@ class Messenger {
this.cooldown.screenshot = true
setTimeout(() => {
this.cooldown.screenshot = false
}, 30000)
}, 3000)
return handlers.stream.captureScreenshot(target, this.bot, this.notifier.bot, context['display-name'], context['room-id'])
}
}
Expand Down

0 comments on commit e49eacb

Please sign in to comment.