mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
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;
|
const useChannel = existingMute ? config.message_on_update : config.message_on_mute;
|
||||||
if (user instanceof User) {
|
if (user instanceof User) {
|
||||||
notifyResult = await notifyUser(this.bot, this.guild, user, muteMessage, {
|
notifyResult = await notifyUser(this.bot, this.guild, user, muteMessage, {
|
||||||
useDM: useDm.valueOf(),
|
useDM: useDm,
|
||||||
useChannel: useChannel.valueOf(),
|
useChannel,
|
||||||
channelId: config.message_channel,
|
channelId: config.message_channel,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue