From 53a6ea3d0e86208c51bf939e0bdb4914b74df70a Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 8 Jul 2022 11:32:12 +0300 Subject: [PATCH] bugfix --- .../components/settings/moderation/ModerationPoints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/settings/moderation/ModerationPoints.js b/src/structure/components/settings/moderation/ModerationPoints.js index 0e1c284..fe372d4 100644 --- a/src/structure/components/settings/moderation/ModerationPoints.js +++ b/src/structure/components/settings/moderation/ModerationPoints.js @@ -123,7 +123,7 @@ class ModerationPoints extends Setting { { name: 'SETTING_MODPOINTS_DEFAULT_EXPIRATIONS', value: Object.entries(setting.expirations).map( - ([type, time]) => `**${type}**: \`${time > 0 ? Util.humanise(time) : 'Disabled'}\`` + ([type, time]) => `**${type}**: \`${time > 0 ? Util.humanise(Math.floor(time/1000)) : 'Disabled'}\`` ).join('\n'), inline: true },