automod should use the length from the escalation
This commit is contained in:
parent
7f575ce617
commit
73cae5441c
@ -328,7 +328,7 @@ class ModerationManager {
|
|||||||
executor: info.executor,
|
executor: info.executor,
|
||||||
reason: stripIndents`${reason}
|
reason: stripIndents`${reason}
|
||||||
*${wrapper.format('INFRACTION_AUTOMODESCALATION')}*`,
|
*${wrapper.format('INFRACTION_AUTOMODESCALATION')}*`,
|
||||||
duration: info.duration,
|
duration: response.escalation.length ? response.escalation.length * 1000 : null, // info.duration,
|
||||||
data: info.data,
|
data: info.data,
|
||||||
points,
|
points,
|
||||||
expiration,
|
expiration,
|
||||||
|
Loading…
Reference in New Issue
Block a user