cooldowns now work for realsies

This commit is contained in:
Atridad Lahiji 2023-07-05 17:07:29 -06:00
parent 150c92a06d
commit bf6181118c
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import { AttachmentBuilder, Message } from 'discord.js';
cooldownDelay: 300_000,
cooldownLimit: 1,
// Yes... I did hardcode myself.
cooldownFilteredUsers: ['himbothyswaggins', 'HimbothySwaggins', 'HimbothySwaggins#4006'],
cooldownFilteredUsers: ['83679718401904640'],
cooldownScope: BucketScope.User
})
export class UserCommand extends Command {

View file

@ -22,10 +22,10 @@ const client = new SapphireClient({
defaultCooldown: {
// 10s
delay: 10_000,
filteredCommands: ['himbothyswaggins', 'HimbothySwaggins', 'HimbothySwaggins#4006'],
filteredCommands: ['disclosure', 'support', 'ping', 'wryna'],
limit: 2,
// Yes... I did hardcode myself.
filteredUsers: ['himbothyswaggins'],
filteredUsers: ['83679718401904640'],
scope: BucketScope.User
}
});