From f5a45381a6a67d015d0a4a1c3b4b61f5439002f9 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji <88056492+atridadl@users.noreply.github.com> Date: Fri, 23 Jun 2023 20:57:42 -0600 Subject: [PATCH] Reduced rate limit --- src/commands/pic.ts | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/pic.ts b/src/commands/pic.ts index c90c1b5..adf0cd5 100644 --- a/src/commands/pic.ts +++ b/src/commands/pic.ts @@ -6,7 +6,7 @@ import { AttachmentBuilder, Message } from 'discord.js'; description: 'Make a picture!', options: ['prompt'], // 10mins - cooldownDelay: 600_000, + cooldownDelay: 60_000, cooldownLimit: 1, // Yes... I did hardcode myself. cooldownFilteredUsers: ['himbothyswaggins', 'HimbothySwaggins', 'HimbothySwaggins#4006'], diff --git a/src/index.ts b/src/index.ts index 54e5ac8..7a3026d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -22,7 +22,7 @@ const client = new SapphireClient({ defaultCooldown: { // 10s delay: 10_000, - filteredCommands: ['ping', 'wryna'], + filteredCommands: ['himbothyswaggins', 'HimbothySwaggins', 'HimbothySwaggins#4006'], limit: 2, // Yes... I did hardcode myself. filteredUsers: ['himbothyswaggins'],