This commit is contained in:
Erik 2022-07-08 11:32:12 +03:00
parent 69646b7b8c
commit 53a6ea3d0e
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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
},