From 021de608b8273074ce71faee5b8f2aead61da1f5 Mon Sep 17 00:00:00 2001 From: Lea Date: Wed, 16 Nov 2022 16:15:44 +0100 Subject: [PATCH] make /bridge config not show "undefined" --- bot/src/bot/commands/configuration/bridge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/src/bot/commands/configuration/bridge.ts b/bot/src/bot/commands/configuration/bridge.ts index 7ad67e6..f2b0871 100644 --- a/bot/src/bot/commands/configuration/bridge.ts +++ b/bot/src/bot/commands/configuration/bridge.ts @@ -300,7 +300,7 @@ export default { description: `**${key.friendlyName}**\n${ key.description }\n\nCurrent value: **${ - bridgeConfig?.config?.[ + !!bridgeConfig?.config?.[ configKey as keyof typeof CONFIG_KEYS ] }**`,