mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Add hide_case option to automod mod actions
This commit is contained in:
parent
31d7748bf4
commit
25a3350196
6 changed files with 14 additions and 0 deletions
|
@ -35,6 +35,7 @@ export async function createCase(pluginData: GuildPluginData<CasesPluginType>, a
|
|||
audit_log_id: args.auditLogId,
|
||||
pp_id: args.ppId,
|
||||
pp_name: ppName,
|
||||
is_hidden: Boolean(args.hide),
|
||||
});
|
||||
|
||||
if (args.reason || (args.noteDetails && args.noteDetails.length)) {
|
||||
|
|
|
@ -40,6 +40,7 @@ export type CaseArgs = {
|
|||
postInCaseLogOverride?: boolean;
|
||||
noteDetails?: string[];
|
||||
extraNotes?: string[];
|
||||
hide?: boolean;
|
||||
};
|
||||
|
||||
export type CaseNoteArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue