diff --git a/src/commands/fancypic.ts b/src/commands/fancypic.ts index e19aaf1..2d8f3ae 100644 --- a/src/commands/fancypic.ts +++ b/src/commands/fancypic.ts @@ -9,9 +9,9 @@ const openai = new OpenAI({ // @ts-ignore @ApplyOptions({ - description: 'Pic... but better! Cooldown of 6 Minutes!', + description: 'Pic... but better! Cooldown of 10 Minutes!', options: ['prompt'], - cooldownDelay: 600_000, + cooldownDelay: 1_000_000, cooldownLimit: 1, // Yes... I did hardcode myself. cooldownFilteredUsers: ['83679718401904640'], @@ -91,7 +91,7 @@ export class UserCommand extends Command { }); } } catch (error) { - const content = "Sorry, I can't complete the prompt for: " + prompt + '\n' + 'Error: ' + error; + const content = "Sorry, I can't complete the prompt for: " + prompt + '\n' + error; if (interactionOrMessage instanceof Message) { return askMessage.edit({ content }); diff --git a/src/commands/pic.ts b/src/commands/pic.ts index b0067e1..3856b0d 100644 --- a/src/commands/pic.ts +++ b/src/commands/pic.ts @@ -9,9 +9,9 @@ const openai = new OpenAI({ // @ts-ignore @ApplyOptions({ - description: 'Generate a pic every 4 minutes!', + description: 'Generate a pic every 5 minutes!', options: ['prompt'], - cooldownDelay: 400_000, + cooldownDelay: 500_000, cooldownLimit: 1, // Yes... I did hardcode myself. cooldownFilteredUsers: ['83679718401904640'], @@ -91,7 +91,7 @@ export class UserCommand extends Command { }); } } catch (error) { - const content = "Sorry, I can't complete the prompt for: " + prompt + '\n' + 'Error: ' + error; + const content = "Sorry, I can't complete the prompt for: " + prompt + '\n' + error; if (interactionOrMessage instanceof Message) { return askMessage.edit({ content });