diff --git a/src/commands/config.ts b/src/commands/config.ts index d86c7e3..a456638 100644 --- a/src/commands/config.ts +++ b/src/commands/config.ts @@ -116,9 +116,9 @@ export default class Config extends Command { const setting = server.Settings.filter(x => x.Key == key.value)[0]; if (setting) { - await interaction.reply(`\`${key}\`: \`${setting.Value}\``); + await interaction.reply(`\`${key.value}\`: \`${setting.Value}\``); } else { - await interaction.reply(`\`${key}\`: \`${DefaultValues.GetValue(key.value.toString())}\` `); + await interaction.reply(`\`${key.value}\`: \`${DefaultValues.GetValue(key.value.toString())}\` `); } } @@ -191,4 +191,4 @@ export default class Config extends Command { await interaction.reply('Setting has been set.'); } -} \ No newline at end of file +}