@chinchillaenterprises/mcp-discord
Version:
Modular Discord MCP server with 45+ tools for comprehensive server management, featuring clean architecture and discord_ prefixed tools
122 lines • 3.77 kB
TypeScript
import { z } from "zod";
/**
* Schema validation for moderation operations
*/
export declare const KickMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
reason?: string | undefined;
}, {
userId: string;
reason?: string | undefined;
}>;
export declare const BanMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
deleteMessageDays: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
userId: string;
deleteMessageDays: number;
reason?: string | undefined;
}, {
userId: string;
reason?: string | undefined;
deleteMessageDays?: number | undefined;
}>;
export declare const UnbanMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
reason?: string | undefined;
}, {
userId: string;
reason?: string | undefined;
}>;
export declare const TimeoutMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
duration: z.ZodNumber;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
duration: number;
reason?: string | undefined;
}, {
userId: string;
duration: number;
reason?: string | undefined;
}>;
export declare const RemoveTimeoutArgsSchema: z.ZodObject<{
userId: z.ZodString;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
reason?: string | undefined;
}, {
userId: string;
reason?: string | undefined;
}>;
export declare const ChangeNicknameArgsSchema: z.ZodObject<{
userId: z.ZodString;
nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
reason?: string | undefined;
nickname?: string | null | undefined;
}, {
userId: string;
reason?: string | undefined;
nickname?: string | null | undefined;
}>;
export declare const MoveMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
channelId?: string | null | undefined;
reason?: string | undefined;
}, {
userId: string;
channelId?: string | null | undefined;
reason?: string | undefined;
}>;
export declare const MuteMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
mute: z.ZodBoolean;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
mute: boolean;
reason?: string | undefined;
}, {
userId: string;
mute: boolean;
reason?: string | undefined;
}>;
export declare const DeafenMemberArgsSchema: z.ZodObject<{
userId: z.ZodString;
deafen: z.ZodBoolean;
reason: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
userId: string;
deafen: boolean;
reason?: string | undefined;
}, {
userId: string;
deafen: boolean;
reason?: string | undefined;
}>;
export type KickMemberArgs = z.infer<typeof KickMemberArgsSchema>;
export type BanMemberArgs = z.infer<typeof BanMemberArgsSchema>;
export type UnbanMemberArgs = z.infer<typeof UnbanMemberArgsSchema>;
export type TimeoutMemberArgs = z.infer<typeof TimeoutMemberArgsSchema>;
export type RemoveTimeoutArgs = z.infer<typeof RemoveTimeoutArgsSchema>;
export type ChangeNicknameArgs = z.infer<typeof ChangeNicknameArgsSchema>;
export type MoveMemberArgs = z.infer<typeof MoveMemberArgsSchema>;
export type MuteMemberArgs = z.infer<typeof MuteMemberArgsSchema>;
export type DeafenMemberArgs = z.infer<typeof DeafenMemberArgsSchema>;
//# sourceMappingURL=moderation.d.ts.map