Fix bug where a default config setting wouldn't show the key you were using #388

Merged
Vylpes merged 1 commit from feature/289-config-get-bug into develop 2023-12-22 14:36:36 +00:00
Showing only changes of commit 1385670135 - Show all commits

View file

@ -121,9 +121,9 @@ export default class Config extends Command {
var defaultValue = DefaultValues.GetValue(key.value.toString());
if (defaultValue) {
await interaction.reply(`\`${key}\`: \`${defaultValue}\` <DEFAULT>`);
await interaction.reply(`\`${key.value}\`: \`${defaultValue}\` <DEFAULT>`);
} else {
await interaction.reply(`\`${key}\`: <NONE>`);
await interaction.reply(`\`${key.value}\`: <NONE>`);
}
}
}