fixed bad parameter
This commit is contained in:
parent
3d5969979a
commit
be28b64102
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue