aboutsummaryrefslogtreecommitdiff
path: root/src/commands/config/log.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config/log.ts')
-rw-r--r--src/commands/config/log.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/config/log.ts b/src/commands/config/log.ts
index 0bc2189..49db6f8 100644
--- a/src/commands/config/log.ts
+++ b/src/commands/config/log.ts
@@ -72,7 +72,8 @@ export default class LogCommand extends BushCommand {
action ? (currentLogs[args.log_type] = args.channel.id) : delete currentLogs[args.log_type];
- const success = await message.guild.setSetting('logChannels', currentLogs);
+ const success = await message.guild.setSetting('logChannels', currentLogs, message.member!);
+
return await message.util.reply(
`${
success