diff --git a/src/commands/config.ts b/src/commands/config.ts index d86c7e3..f816343 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -118,7 +118,13 @@ export default class Config extends Command { if (setting) { await interaction.reply(`\`${key}\`: \`${setting.Value}\``); } else { - await interaction.reply(`\`${key}\`: \`${DefaultValues.GetValue(key.value.toString())}\` `); + var defaultValue = DefaultValues.GetValue(key.value.toString()); + + if (defaultValue) { + await interaction.reply(`\`${key}\`: \`${defaultValue}\` `); + } else { + await interaction.reply(`\`${key}\`: `); + } } }