mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
Fix automod mute action
This commit is contained in:
parent
60fdae5df9
commit
1ac8c4e444
1 changed files with 2 additions and 2 deletions
|
@ -1009,8 +1009,8 @@ export class AutomodPlugin extends ZeppelinPlugin<TConfigSchema, ICustomOverride
|
|||
}
|
||||
|
||||
if (userIdsToMute.length) {
|
||||
for (const member of userIdsToMute) {
|
||||
await this.getMutes().muteUser(member.id, duration, reason, { contactMethods, caseArgs });
|
||||
for (const userId of userIdsToMute) {
|
||||
await this.getMutes().muteUser(userId, duration, reason, { contactMethods, caseArgs });
|
||||
}
|
||||
|
||||
actionsTaken.push("mute");
|
||||
|
|
Loading…
Add table
Reference in a new issue