LONG cooldown

This commit is contained in:
Atridad Lahiji 2023-06-17 16:59:14 -06:00
parent d28d6ea40a
commit e71fe908c5
No known key found for this signature in database

View file

@ -11,8 +11,9 @@ const openai = new OpenAIApi(configuration);
@ApplyOptions<Command.Options>({ @ApplyOptions<Command.Options>({
description: 'Make a picture!', description: 'Make a picture!',
options: ['prompt'], options: ['prompt'],
cooldownDelay: 20_000, cooldownDelay: 600_000,
cooldownLimit: 1 cooldownLimit: 1,
cooldownFilteredUsers: ['himbothyswaggins']
}) })
export class UserCommand extends Command { export class UserCommand extends Command {
// Register Chat Input and Context Menu command // Register Chat Input and Context Menu command