This commit is contained in:
Almeida 2024-01-23 16:47:58 +00:00 committed by GitHub
parent be87fe6c43
commit 681b19b69c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,9 @@ export const AuditLogEvents = modActionsEvt({
caseId: existingCaseId, caseId: existingCaseId,
modId: auditLogEntry.executor?.id || "0", modId: auditLogEntry.executor?.id || "0",
body: auditLogEntry.reason || "", body: auditLogEntry.reason || "",
noteDetails: [`Timeout set to expire on <t:${Math.ceil(moment.utc(muteChange.new as string).valueOf() / 1_000)}>`], noteDetails: [
`Timeout set to expire on <t:${Math.ceil(moment.utc(muteChange.new as string).valueOf() / 1_000)}>`,
],
}); });
} else { } else {
await casesPlugin.createCase({ await casesPlugin.createCase({