implemented user alerts for mute updates
This commit is contained in:
parent
9aa4516a3a
commit
5883121281
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ export class MutesPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
time: timeUntilUnmute,
|
||||
}));
|
||||
|
||||
if (reason && muteMessage) {
|
||||
if ((reason && muteMessage) || existingMute) {
|
||||
if (user instanceof User) {
|
||||
notifyResult = await notifyUser(this.bot, this.guild, user, muteMessage, {
|
||||
useDM: config.dm_on_mute,
|
||||
|
|
Loading…
Add table
Reference in a new issue