mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-06-17 03:25:01 +00:00
refactor: convert /backend to ESM
This commit is contained in:
parent
31d74c05aa
commit
5772e27cda
766 changed files with 3473 additions and 3500 deletions
|
@ -1,11 +1,11 @@
|
|||
import { GuildPluginData } from "knub";
|
||||
import z from "zod";
|
||||
import { canActOn } from "../../../pluginUtils";
|
||||
import { renderTemplate, TemplateSafeValueContainer } from "../../../templateFormatter";
|
||||
import { resolveMember, zSnowflake } from "../../../utils";
|
||||
import { ActionError } from "../ActionError";
|
||||
import { catchTemplateError } from "../catchTemplateError";
|
||||
import { CustomEventsPluginType, TCustomEvent } from "../types";
|
||||
import { canActOn } from "../../../pluginUtils.js";
|
||||
import { renderTemplate, TemplateSafeValueContainer } from "../../../templateFormatter.js";
|
||||
import { resolveMember, zSnowflake } from "../../../utils.js";
|
||||
import { ActionError } from "../ActionError.js";
|
||||
import { catchTemplateError } from "../catchTemplateError.js";
|
||||
import { CustomEventsPluginType, TCustomEvent } from "../types.js";
|
||||
|
||||
export const zAddRoleAction = z.strictObject({
|
||||
type: z.literal("add_role"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue