diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-13 22:00:22 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-13 22:00:22 -0400 |
commit | cfcf16ae61dbb313a9b32afd4711a1f1e6a2b4fb (patch) | |
tree | 8ec0be6eec71f412dbbe51de67eb8a51fa53667c /src/commands/config/config.ts | |
parent | 142fe78f76d1e04b480da09f5e36cb70b98e24ff (diff) | |
download | tanzanite-cfcf16ae61dbb313a9b32afd4711a1f1e6a2b4fb.tar.gz tanzanite-cfcf16ae61dbb313a9b32afd4711a1f1e6a2b4fb.tar.bz2 tanzanite-cfcf16ae61dbb313a9b32afd4711a1f1e6a2b4fb.zip |
fix: make replaceNullWith a function
Diffstat (limited to 'src/commands/config/config.ts')
-rw-r--r-- | src/commands/config/config.ts | 2 |
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; |