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/functions/actualKickMemberCmd.ts

Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
metal 2021-09-24 09:05:37 +01:00 committed by almeidx
parent a8eb8819a8
commit 4e6deff1db
No known key found for this signature in database
GPG key ID: F403F80B79353CB4

View file

@ -71,7 +71,7 @@ export async function actualKickMemberCmd(
}
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()]);
const kickResult = await kickMember(pluginData, memberToKick, reason, {
contactMethods,