mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-07 19:17:19 +00:00
Update
This commit is contained in:
parent
2e4d84571b
commit
450ce5e25e
21 changed files with 181 additions and 952 deletions
|
@ -173,7 +173,7 @@ export async function banUserId(
|
|||
mod,
|
||||
user,
|
||||
caseNumber: createdCase.case_number,
|
||||
reason,
|
||||
reason: reason ?? "",
|
||||
banTime: humanizeDuration(banTime),
|
||||
});
|
||||
} else {
|
||||
|
|
|
@ -12,7 +12,7 @@ import { UserNotificationMethod, UserNotificationResult } from "../../utils";
|
|||
import { CaseArgs } from "../Cases/types";
|
||||
|
||||
export const zModActionsConfig = z.strictObject({
|
||||
main_guild: tNullable(t.string),
|
||||
main_guild: z.nullable(z.string()),
|
||||
dm_on_warn: z.boolean(),
|
||||
dm_on_kick: z.boolean(),
|
||||
dm_on_ban: z.boolean(),
|
||||
|
@ -24,7 +24,7 @@ export const zModActionsConfig = z.strictObject({
|
|||
kick_message: z.nullable(z.string()),
|
||||
ban_message: z.nullable(z.string()),
|
||||
tempban_message: z.nullable(z.string()),
|
||||
default_ban_reason: tNullable(t.string),
|
||||
default_ban_reason: z.nullable(z.string()),
|
||||
alert_on_rejoin: z.boolean(),
|
||||
alert_channel: z.nullable(z.string()),
|
||||
warn_notify_enabled: z.boolean(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue