From 2d987046d094cf5eb784c8d79d678bd3efa5eaf9 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 24 Sep 2025 18:14:30 -0700 Subject: refactor: Move interactions client to packages directory --- src/discord/interfaces.ts | 86 ----------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 src/discord/interfaces.ts (limited to 'src/discord/interfaces.ts') diff --git a/src/discord/interfaces.ts b/src/discord/interfaces.ts deleted file mode 100644 index bc8683c..0000000 --- a/src/discord/interfaces.ts +++ /dev/null @@ -1,86 +0,0 @@ -export interface Environment { - DISCORD_APPLICATION_ID: string; - DISCORD_PUBLIC_KEY: string; - DISCORD_TOKEN: string; -} - -export interface DiscordInteraction { - type: number; - data: { - name: string; - options?: Array<{ - name: string; - value: string; - }>; - }; - channel_id?: string; - channel?: { - nsfw: boolean; - }; - guild_id?: string; - user?: { - id: string; - username: string; - avatar?: string; - }; - member?: { - user?: { - id: string; - username: string; - avatar?: string; - }; - roles?: string[]; - permissions?: string; - }; -} - -export interface DiscordEmbed { - title: string; - description: string; - url?: string; - color: number; - author?: { - name: string; - url: string; - }; - fields?: Array<{ - name: string; - value: string; - inline: boolean; - }>; - timestamp?: string; - footer?: { - text: string; - }; - image?: { url: string }; - thumbnail?: { url: string }; -} - -export interface DiscordResponse { - type: number; - data?: { - content?: string; - embeds?: DiscordEmbed[]; - flags?: number; - }; -} - -export interface DiscordCommand { - name: string; - description: string; - options?: DiscordCommandOption[]; - contexts?: number[]; -} - -export interface DiscordCommandOption { - type: number; - name: string; - description: string; - required?: boolean; - choices?: DiscordCommandChoice[]; -} - -export interface DiscordCommandChoice { - name: string; - value: string; -} -- cgit v1.2.3