3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 02:25:01 +00:00

Update backend/src/plugins/ModActions/commands/MassmuteCmd.ts

Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
metal 2021-09-23 12:04:01 +01:00 committed by almeidx
parent bf7a72c91f
commit ce7b8e7d6e
No known key found for this signature in database
GPG key ID: F403F80B79353CB4

View file

@ -41,9 +41,9 @@ export const MassmuteCmd = modActionsCmd({
}
const config = pluginData.config.get();
const muteReason = parseReason(
config,
formatReasonWithAttachments(muteReasonReceived.content, [...msg.attachments.values()]),
const muteReason = formatReasonWithAttachments(
parseReason(config, muteReasonReceived.content),
[...msg.attachments.values()],
);
// Verify we can act upon all users