More ratelimits

This commit is contained in:
Atridad Lahiji 2023-06-15 23:16:44 -06:00
parent 5e57461505
commit 07b3c5dd6f
No known key found for this signature in database

View file

@ -10,7 +10,9 @@ const openai = new OpenAIApi(configuration);
@ApplyOptions<Command.Options>({
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