Fix bug where a default config setting wouldn't show the key you were using #388
1 changed files with 2 additions and 2 deletions
|
@ -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>`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue