listing of autlog state

This commit is contained in:
Erik 2024-01-26 10:41:24 +02:00
parent faed102ebb
commit 3abcf23c21

View File

@ -167,14 +167,18 @@ class ModerationLog extends Setting
name: 'GENERAL_STATUS', name: 'GENERAL_STATUS',
value: guild.format('GENERAL_STATE', { bool: Boolean(setting.enabled) }, { code: true }), value: guild.format('GENERAL_STATE', { bool: Boolean(setting.enabled) }, { code: true }),
inline: true inline: true
}, {
name: 'GENERAL_CHANNEL',
value: `<#${setting.channel}>`,
inline: true
}, { }, {
name: 'GENERAL_ANONYMOUS', name: 'GENERAL_ANONYMOUS',
value: guild.format('GENERAL_STATE', { bool: setting.anonymous }, { code: true }), value: guild.format('GENERAL_STATE', { bool: setting.anonymous }, { code: true }),
inline: true inline: true
}, {
name: 'GENERAL_AUTOLOG',
value: guild.format('GENERAL_STATE', { bool: setting.autolog }, { code: true }),
inline: true
}, {
name: 'GENERAL_CHANNEL',
value: `<#${setting.channel}>`,
inline: true
}, { }, {
name: 'GENERAL_INFRACTIONS', name: 'GENERAL_INFRACTIONS',
value: setting.infractions.join(', ') value: setting.infractions.join(', ')