forgot to update dependson

This commit is contained in:
Erik 2022-07-30 00:47:10 +03:00
parent cb5127049d
commit e93a4c2acb
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -41,7 +41,7 @@ class ModerationPoints extends Setting {
name: 'points', name: 'points',
description: 'Point value', description: 'Point value',
type: 'INTEGER', type: 'INTEGER',
dependsOn: ['associate', 'type'], dependsOn: ['associate', 'infraction'],
dependsOnMode: 'OR', dependsOnMode: 'OR',
minimum: 0, minimum: 0,
maximum: 100 maximum: 100
@ -50,7 +50,7 @@ class ModerationPoints extends Setting {
name: 'expire', name: 'expire',
description: 'How long the points are counted for', description: 'How long the points are counted for',
type: 'TIME', type: 'TIME',
dependsOn: ['type'] dependsOn: ['infraction']
}, },
{ {
name: 'infraction', name: 'infraction',