From be28b641025c8050fa66b3af3aa7ae32245f94b4 Mon Sep 17 00:00:00 2001 From: roflmaoqwerty Date: Thu, 16 Jan 2020 22:19:53 +1100 Subject: [PATCH] fixed bad parameter --- backend/src/plugins/Mutes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/Mutes.ts b/backend/src/plugins/Mutes.ts index 41c74337..b76b5e27 100644 --- a/backend/src/plugins/Mutes.ts +++ b/backend/src/plugins/Mutes.ts @@ -197,8 +197,8 @@ export class MutesPlugin extends ZeppelinPlugin { const useChannel = existingMute ? config.message_on_update : config.message_on_mute; if (user instanceof User) { notifyResult = await notifyUser(this.bot, this.guild, user, muteMessage, { - useDM: useDm.valueOf(), - useChannel: useChannel.valueOf(), + useDM: useDm, + useChannel, channelId: config.message_channel, }); } else {