mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
prettier
This commit is contained in:
parent
930d2077ab
commit
3c4055ff10
2 changed files with 6 additions and 8 deletions
|
@ -38,10 +38,9 @@ export const MassunbanCmd = modActionsCmd({
|
|||
return;
|
||||
}
|
||||
const config = pluginData.config.get();
|
||||
const unbanReason = formatReasonWithAttachments(
|
||||
parseReason(config, unbanReasonReply.content),
|
||||
[...msg.attachments.values()],
|
||||
);
|
||||
const unbanReason = formatReasonWithAttachments(parseReason(config, unbanReasonReply.content), [
|
||||
...msg.attachments.values(),
|
||||
]);
|
||||
|
||||
// Ignore automatic unban cases and logs for these users
|
||||
// We'll create our own cases below and post a single "mass unbanned" log instead
|
||||
|
|
|
@ -41,10 +41,9 @@ export const MassmuteCmd = modActionsCmd({
|
|||
}
|
||||
|
||||
const config = pluginData.config.get();
|
||||
const muteReason = formatReasonWithAttachments(
|
||||
parseReason(config, muteReasonReceived.content),
|
||||
[...msg.attachments.values()],
|
||||
);
|
||||
const muteReason = formatReasonWithAttachments(parseReason(config, muteReasonReceived.content), [
|
||||
...msg.attachments.values(),
|
||||
]);
|
||||
|
||||
// Verify we can act upon all users
|
||||
for (const userId of args.userIds) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue