From 13856701359f713dd50a7f479f6566d57b34f7d3 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 18 Dec 2023 13:38:16 +0000 Subject: [PATCH] Fix bug where a default config setting wouldn't show the key you were using --- src/commands/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/config.ts b/src/commands/config.ts index 07538ba..57018f9 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -121,9 +121,9 @@ export default class Config extends Command { var defaultValue = DefaultValues.GetValue(key.value.toString()); if (defaultValue) { - await interaction.reply(`\`${key}\`: \`${defaultValue}\` `); + await interaction.reply(`\`${key.value}\`: \`${defaultValue}\` `); } else { - await interaction.reply(`\`${key}\`: `); + await interaction.reply(`\`${key.value}\`: `); } } } -- 2.43.4