diff --git a/src/commands/pic.ts b/src/commands/pic.ts index 3aa997c..5ba5ae7 100644 --- a/src/commands/pic.ts +++ b/src/commands/pic.ts @@ -10,7 +10,9 @@ const openai = new OpenAIApi(configuration); @ApplyOptions({ description: 'Make a picture!', - options: ['prompt'] + options: ['prompt'], + cooldownDelay: 20_000, + cooldownLimit: 1 }) export class UserCommand extends Command { // Register Chat Input and Context Menu command