mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +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) {
|
if (userIdsToMute.length) {
|
||||||
for (const member of userIdsToMute) {
|
for (const userId of userIdsToMute) {
|
||||||
await this.getMutes().muteUser(member.id, duration, reason, { contactMethods, caseArgs });
|
await this.getMutes().muteUser(userId, duration, reason, { contactMethods, caseArgs });
|
||||||
}
|
}
|
||||||
|
|
||||||
actionsTaken.push("mute");
|
actionsTaken.push("mute");
|
||||||
|
|
Loading…
Add table
Reference in a new issue