3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-17 15:15:02 +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 1f615f2af0
commit bf11d1e3d5

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!"));
}
}
/**