mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 10:25:01 +00:00
Update backend/src/plugins/ModActions/commands/ForcebanCmd.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
ae270d21fe
commit
d67a5da9bd
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export const ForcebanCmd = modActionsCmd({
|
|||
mod = args.mod;
|
||||
}
|
||||
const config = pluginData.config.get();
|
||||
const reason = parseReason(config, formatReasonWithAttachments(args.reason, [...msg.attachments.values()]));
|
||||
const reason = formatReasonWithAttachments(parseReason(config, args.reason), [...msg.attachments.values()]);
|
||||
|
||||
ignoreEvent(pluginData, IgnoredEventType.Ban, user.id);
|
||||
pluginData.state.serverLogs.ignoreLog(LogType.MEMBER_BAN, user.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue