mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
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,
|
time: timeUntilUnmute,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
if (reason && muteMessage) {
|
if ((reason && muteMessage) || existingMute) {
|
||||||
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: config.dm_on_mute,
|
useDM: config.dm_on_mute,
|
||||||
|
|
Loading…
Add table
Reference in a new issue