From 73cae5441c0e635a70edfd589fe67e9b4977d309 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Tue, 12 Jul 2022 00:10:32 +0300 Subject: [PATCH] automod should use the length from the escalation --- src/structure/client/ModerationManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/client/ModerationManager.js b/src/structure/client/ModerationManager.js index e1f331a..d0a4168 100644 --- a/src/structure/client/ModerationManager.js +++ b/src/structure/client/ModerationManager.js @@ -328,7 +328,7 @@ class ModerationManager { executor: info.executor, reason: stripIndents`${reason} *${wrapper.format('INFRACTION_AUTOMODESCALATION')}*`, - duration: info.duration, + duration: response.escalation.length ? response.escalation.length * 1000 : null, // info.duration, data: info.data, points, expiration,