3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 02:25:01 +00:00
This commit is contained in:
almeidx 2021-12-19 16:25:52 +00:00
parent 930d2077ab
commit 3c4055ff10
No known key found for this signature in database
GPG key ID: F403F80B79353CB4
2 changed files with 6 additions and 8 deletions

View file

@ -38,10 +38,9 @@ export const MassunbanCmd = modActionsCmd({
return; return;
} }
const config = pluginData.config.get(); const config = pluginData.config.get();
const unbanReason = formatReasonWithAttachments( const unbanReason = formatReasonWithAttachments(parseReason(config, unbanReasonReply.content), [
parseReason(config, unbanReasonReply.content), ...msg.attachments.values(),
[...msg.attachments.values()], ]);
);
// Ignore automatic unban cases and logs for these users // Ignore automatic unban cases and logs for these users
// We'll create our own cases below and post a single "mass unbanned" log instead // We'll create our own cases below and post a single "mass unbanned" log instead

View file

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