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

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

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

View file

@ -38,9 +38,9 @@ export const MassunbanCmd = modActionsCmd({
return;
}
const config = pluginData.config.get();
const unbanReason = parseReason(
config,
formatReasonWithAttachments(unbanReasonReply.content, [...msg.attachments.values()]),
const unbanReason = formatReasonWithAttachments(
parseReason(config, unbanReasonReply.content),
[...msg.attachments.values()],
);
// Ignore automatic unban cases and logs for these users