Mutes: only post 'all mutes posted' confirmation if there are more than a couple chunks
This commit is contained in:
parent
d1a9cf6dc9
commit
9e1240856a
1 changed files with 3 additions and 1 deletions
|
@ -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!"));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue