3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

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,7 +457,9 @@ export class MutesPlugin extends ZeppelinPlugin<IMutesPluginConfig> {
}
// let the user know we are done
msg.channel.createMessage(successMessage("All mutes for the specified filters posted!"));
if (chunks.length > 2) {
msg.channel.createMessage(successMessage("All mutes for the specified filters posted!"));
}
}
/**