mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
Update backend/src/plugins/ModActions/commands/AddCaseCmd.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
7a7f0733e1
commit
ae270d21fe
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export const AddCaseCmd = modActionsCmd({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const config = pluginData.config.get();
|
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()]);
|
||||||
|
|
||||||
// Create the case
|
// Create the case
|
||||||
const casesPlugin = pluginData.getPlugin(CasesPlugin);
|
const casesPlugin = pluginData.getPlugin(CasesPlugin);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue