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/actualUnmuteUserCmd.ts

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

View file

@ -30,7 +30,7 @@ export async function actualUnmuteCmd(
const config = pluginData.config.get();
const reason = args.reason
? parseReason(config, formatReasonWithAttachments(args.reason, [...msg.attachments.values()]))
? formatReasonWithAttachments(parseReason(config, args.reason), [...msg.attachments.values()])
: undefined;
const mutesPlugin = pluginData.getPlugin(MutesPlugin);