This commit is contained in:
Erik 2022-07-07 20:01:00 +03:00
parent a41383d0ae
commit 68066db1bb
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -16,7 +16,8 @@ class MessageLog extends Setting {
ignore: [], ignore: [],
bypass: [], bypass: [],
attachments: false, attachments: false,
webhook: null webhook: null,
enabled: false
}, },
definitions: { definitions: {
channel: 'GUILD_TEXT', channel: 'GUILD_TEXT',
@ -137,7 +138,7 @@ class MessageLog extends Setting {
return [ return [
{ {
name: 'GENERAL_STATUS', name: 'GENERAL_STATUS',
value: guild.format('GENERAL_STATE', { bool: Boolean(setting.channel) }, { code: true }), value: guild.format('GENERAL_STATE', { bool: Boolean(setting.enabled) }, { code: true }),
inline: true inline: true
}, },
{ {