-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add config to set scanner cooldown by role
example config setup (scanZone accepts the same format) "scanNext": { ... // Discord roles that will be allowed to use scanNext "discordRoles": ["Supporter","Scanner", "Mod"], // Default cooldown if no role specific cooldown "userCooldownSeconds": 60, //List of role/cooldown pair shortest matching time will apply "discordRoleCooldown":[["Supporter",30],["Mod",0]], ... } Expected outcome: Supporter: 30 second cooldown Mod: 0 second cooldown Scanner: will get the default 60 second cooldown. Supporter & Mod role: the lower 0 second cooldown would apply.
- Loading branch information
sherlocksometimes
committed
May 17, 2024
1 parent
8be85b6
commit 89e952e
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters