Fix bug where a default config setting wouldn't show the key you were using
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Ethan Lane 2023-12-18 13:38:16 +00:00
parent 26e7c20389
commit 1385670135

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>`);
}
}
}