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());
|
var defaultValue = DefaultValues.GetValue(key.value.toString());
|
||||||
|
|
||||||
if (defaultValue) {
|
if (defaultValue) {
|
||||||
await interaction.reply(`\`${key}\`: \`${defaultValue}\` <DEFAULT>`);
|
await interaction.reply(`\`${key.value}\`: \`${defaultValue}\` <DEFAULT>`);
|
||||||
} else {
|
} else {
|
||||||
await interaction.reply(`\`${key}\`: <NONE>`);
|
await interaction.reply(`\`${key.value}\`: <NONE>`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue