cooldowns now work for realsies
This commit is contained in:
parent
150c92a06d
commit
bf6181118c
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue