mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
fix(tags): user_cooldown now applies per-user, not per-tag
This commit is contained in:
parent
319461285f
commit
2fe92ff76d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export async function onMessageCreate(pluginData: GuildPluginData<TagsPluginType
|
|||
|
||||
if (config.user_cooldown) {
|
||||
const delay = convertDelayStringToMS(String(config.user_cooldown), "s");
|
||||
cooldowns.push([`tags-user-${tagResult.tagName}`, delay]);
|
||||
cooldowns.push([`tags-user-${msg.user_id}`, delay]);
|
||||
}
|
||||
|
||||
if (config.global_cooldown) {
|
||||
|
|
Loading…
Add table
Reference in a new issue