Fix bug where a default config setting wouldn't show the key you were using
This commit is contained in:
parent
26e7c20389
commit
1385670135
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