aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/config.ts')
-rw-r--r--src/commands/config/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts
index 9169180..a90a267 100644
--- a/src/commands/config/config.ts
+++ b/src/commands/config/config.ts
@@ -264,7 +264,7 @@ export default class ConfigCommand extends BushCommand {
break;
}
case 'delete': {
- await message.guild.setSetting(setting, guildSettingsObj[setting].replaceNullWith, message.member);
+ await message.guild.setSetting(setting, guildSettingsObj[setting].replaceNullWith(), message.member);
const messageOptions = await this.generateMessageOptions(message, setting);
msg = (await message.util.reply(messageOptions)) as Message;
break;