forked from Galactic/galactic-bot
bugfix
This commit is contained in:
parent
69646b7b8c
commit
53a6ea3d0e
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user