@chinchillaenterprises/mcp-discord
Version:
Modular Discord MCP server with 45+ tools for comprehensive server management, featuring clean architecture and discord_ prefixed tools
92 lines • 2.88 kB
TypeScript
import { z } from "zod";
/**
* Schema validation for content management operations (emojis, webhooks, etc.)
*/
export declare const CreateEmojiArgsSchema: z.ZodObject<{
name: z.ZodString;
imageUrl: z.ZodString;
roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
imageUrl: string;
reason?: string | undefined;
roles?: string[] | undefined;
}, {
name: string;
imageUrl: string;
reason?: string | undefined;
roles?: string[] | undefined;
}>;
export declare const DeleteEmojiArgsSchema: z.ZodObject<{
emojiId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
emojiId: string;
reason?: string | undefined;
}, {
emojiId: string;
reason?: string | undefined;
}>;
export declare const CreateWebhookArgsSchema: z.ZodObject<{
channelId: z.ZodString;
name: z.ZodString;
avatar: z.ZodOptional<z.ZodString>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
channelId: string;
reason?: string | undefined;
avatar?: string | undefined;
}, {
name: string;
channelId: string;
reason?: string | undefined;
avatar?: string | undefined;
}>;
export declare const DeleteWebhookArgsSchema: z.ZodObject<{
webhookId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
webhookId: string;
reason?: string | undefined;
}, {
webhookId: string;
reason?: string | undefined;
}>;
export declare const CreateThreadArgsSchema: z.ZodObject<{
channelId: z.ZodString;
name: z.ZodString;
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["public", "private"]>>>;
autoArchiveDuration: z.ZodOptional<z.ZodNumber>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
type: "public" | "private";
name: string;
channelId: string;
autoArchiveDuration?: number | undefined;
reason?: string | undefined;
}, {
name: string;
channelId: string;
type?: "public" | "private" | undefined;
autoArchiveDuration?: number | undefined;
reason?: string | undefined;
}>;
export declare const SendTTSMessageArgsSchema: z.ZodObject<{
channel: z.ZodString;
text: z.ZodString;
}, "strip", z.ZodTypeAny, {
channel: string;
text: string;
}, {
channel: string;
text: string;
}>;
export type CreateEmojiArgs = z.infer<typeof CreateEmojiArgsSchema>;
export type DeleteEmojiArgs = z.infer<typeof DeleteEmojiArgsSchema>;
export type CreateWebhookArgs = z.infer<typeof CreateWebhookArgsSchema>;
export type DeleteWebhookArgs = z.infer<typeof DeleteWebhookArgsSchema>;
export type CreateThreadArgs = z.infer<typeof CreateThreadArgsSchema>;
export type SendTTSMessageArgs = z.infer<typeof SendTTSMessageArgsSchema>;
//# sourceMappingURL=content.d.ts.map