From b532f7fadc4b3f55545a8a1f88290d481f47361a Mon Sep 17 00:00:00 2001 From: xiboon Date: Sun, 19 Dec 2021 02:54:18 +0100 Subject: [PATCH] psdfasdf --- src/cmds/config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cmds/config.ts b/src/cmds/config.ts index 0df6e5ae..ead3de66 100644 --- a/src/cmds/config.ts +++ b/src/cmds/config.ts @@ -131,7 +131,11 @@ export async function run( .addField('prefix', settings.prefix) .addField('logs', settings.logs ? 'Włączone' : 'Wyłączone') - .addField('modlog', settings.modLogs ? 'Włączone' : 'Wyłączone') + .addField('modlog', settings.modLogs ? 'Włączone' : 'Wyłączone'); + if (!settings.muteRole) { + listEmbed.addField('muteRole', 'Brak'); + } + listEmbed .addField('muteRole', `<@&${settings.muteRole || 'Brak'}>`) .setFooter(client.footer); if (settings.logsChannel) {