3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

fixed bad parameter

This commit is contained in:
roflmaoqwerty 2020-01-16 22:19:53 +11:00
parent 3d5969979a
commit be28b64102

View file

@ -197,8 +197,8 @@ export class MutesPlugin extends ZeppelinPlugin<TConfigSchema> {
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 {