Mutes: only post 'all mutes posted' confirmation if there are more than a couple chunks

This commit is contained in:
Dragory 2019-07-11 12:38:50 +03:00
parent d1a9cf6dc9
commit 9e1240856a

View file

@ -457,8 +457,10 @@ export class MutesPlugin extends ZeppelinPlugin<IMutesPluginConfig> {
} }
// let the user know we are done // let the user know we are done
if (chunks.length > 2) {
msg.channel.createMessage(successMessage("All mutes for the specified filters posted!")); msg.channel.createMessage(successMessage("All mutes for the specified filters posted!"));
} }
}
/** /**
* Reapply active mutes on join * Reapply active mutes on join