UNPKG

kakashi-self-handler

Version:
70 lines (66 loc) 1.69 kB
declare module "kakashi-self-handler" { interface KakashiOptions { vote?: { url: string; webhook: { token: string; port: number; path: string; auth: string; }; embed?: { enabled: boolean; message?: string; emoji?: string; footer?: boolean; }; button?: { enabled: boolean; emoji?: string; } }; cooldown?: { embed?: { enabled?: boolean; message?: string; footer?: boolean; emoji?: string; }, button?: { enabled: false, } }; support?: { server: string; button?: { enabled: boolean; emoji?: string; } }; GuildCommands?: { path: string; clientId: string; guildId: string; token: string; }; GlobalCommands?: { path: string; clientId: string; token: string; }; Events?: { path: string; }; MessageCommands?: { path: string; }; Components?: { path: string; }; } class Kakashi { constructor(client: any, options: KakashiOptions); Interaction(interaction: any): Promise<void>; } export { Kakashi }; }