Cooldowns
This commit is contained in:
parent
e9d9b202b0
commit
dfbd1cb48c
2 changed files with 3 additions and 5 deletions
|
@ -9,10 +9,9 @@ const openai = new OpenAI({
|
|||
|
||||
// @ts-ignore
|
||||
@ApplyOptions<Command.Options>({
|
||||
description: 'Pic... but better!',
|
||||
description: 'Pic... but better! Cooldown of 6 Minutes!',
|
||||
options: ['prompt'],
|
||||
// 10mins
|
||||
cooldownDelay: 500_000,
|
||||
cooldownDelay: 600_000,
|
||||
cooldownLimit: 1,
|
||||
// Yes... I did hardcode myself.
|
||||
cooldownFilteredUsers: ['83679718401904640'],
|
||||
|
|
|
@ -9,9 +9,8 @@ const openai = new OpenAI({
|
|||
|
||||
// @ts-ignore
|
||||
@ApplyOptions<Command.Options>({
|
||||
description: 'Pic... but better!',
|
||||
description: 'Generate a pic every 4 minutes!',
|
||||
options: ['prompt'],
|
||||
// 10mins
|
||||
cooldownDelay: 400_000,
|
||||
cooldownLimit: 1,
|
||||
// Yes... I did hardcode myself.
|
||||
|
|
Loading…
Add table
Reference in a new issue