diff --git a/structure/client/components/settings/moderation/ModerationPoints.js b/structure/client/components/settings/moderation/ModerationPoints.js index b7d73ff..abd4550 100644 --- a/structure/client/components/settings/moderation/ModerationPoints.js +++ b/structure/client/components/settings/moderation/ModerationPoints.js @@ -174,15 +174,30 @@ class ModerationPointsSetting extends Setting { name: '》 Status', value: guild.format('SETTING_STATUS', { bool: Boolean(setting?.enabled) }, true), inline: true - }, + }, + { + name: '》 Use points as multiplier for expiry', + value: guild.format('SETTING_STATUS', { bool: Boolean(setting?.multiplier) }, true), + inline: true + }, + { + name: '\u200b', + value: '\u200b', + inline: true + }, { name: '》 Default Points', - value: Object.entries(setting.points).map(([key, value]) => `**${key}:** \`${value}\``).join('\n'), + value: Object.entries(setting.points).sort(([key], [key2]) => key.length - key2.length).map(([key, value]) => `**${key}:** \`${value}\``).join('\n'), inline: true }, { name: '》 Default Expirations', - value: Object.entries(setting.expirations).map(([key, value]) => `**${key}:** \`${value ? this.client.resolver.timeAgo(value): 'N/A'}\``).join('\n'), + value: Object.entries(setting.expirations).sort(([key], [key2]) => key.length - key2.length).map(([key, value]) => `**${key}:** \`${value ? this.client.resolver.timeAgo(value): 'N/A'}\``).join('\n'), + inline: true + }, + { + name: '》 Word associations', + value: Object.entries(setting.associations).map(([key, value]) => `**${key}:** \`${value}\``).join('\n') || '`N/A`', inline: true } ];