Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Variable botCommandSchemaConst

    botCommandSchema: ZodDiscriminatedUnion<
        "kind",
        [
            ZodObject<
                {
                    channelId: ZodString;
                    guildId: ZodString;
                    id: ZodNumber;
                    kind: ZodLiteral<"join">;
                },
                "strip",
                ZodTypeAny,
                { channelId: string; guildId: string; id: number; kind: "join" },
                { channelId: string; guildId: string; id: number; kind: "join" },
            >,
            ZodObject<
                { guildId: ZodString; id: ZodNumber; kind: ZodLiteral<"leave"> },
                "strip",
                ZodTypeAny,
                { guildId: string; id: number; kind: "leave" },
                { guildId: string; id: number; kind: "leave" },
            >,
            ZodObject<
                {
                    guildId: ZodString;
                    id: ZodNumber;
                    kind: ZodLiteral<"play">;
                    playId: ZodNumber;
                    track: ZodObject<
                        {
                            album: ZodNullable<ZodString>;
                            artist: ZodNullable<ZodString>;
                            durationSeconds: ZodNullable<ZodNumber>;
                            id: ZodString;
                            title: ZodString;
                            trackNumber: ZodNullable<ZodNumber>;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            album: string
                            | null;
                            artist: string | null;
                            durationSeconds: number | null;
                            id: string;
                            title: string;
                            trackNumber: number | null;
                        },
                        {
                            album: string
                            | null;
                            artist: string | null;
                            durationSeconds: number | null;
                            id: string;
                            title: string;
                            trackNumber: number | null;
                        },
                    >;
                    upcoming: ZodArray<
                        ZodObject<
                            {
                                album: ZodNullable<ZodString>;
                                artist: ZodNullable<ZodString>;
                                durationSeconds: ZodNullable<ZodNumber>;
                                id: ZodString;
                                title: ZodString;
                                trackNumber: ZodNullable<ZodNumber>;
                            },
                            "strip",
                            ZodTypeAny,
                            {
                                album: string
                                | null;
                                artist: string | null;
                                durationSeconds: number | null;
                                id: string;
                                title: string;
                                trackNumber: number | null;
                            },
                            {
                                album: string
                                | null;
                                artist: string | null;
                                durationSeconds: number | null;
                                id: string;
                                title: string;
                                trackNumber: number | null;
                            },
                        >,
                        "many",
                    >;
                },
                "strip",
                ZodTypeAny,
                {
                    guildId: string;
                    id: number;
                    kind: "play";
                    playId: number;
                    track: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    };
                    upcoming: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                },
                {
                    guildId: string;
                    id: number;
                    kind: "play";
                    playId: number;
                    track: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    };
                    upcoming: {
                        album: string
                        | null;
                        artist: string | null;
                        durationSeconds: number | null;
                        id: string;
                        title: string;
                        trackNumber: number | null;
                    }[];
                },
            >,
        ],
    > = ...