diff options
| author | Fuwn <[email protected]> | 2025-09-11 18:13:31 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-11 18:13:31 -0700 |
| commit | 1257d1419d04678296441904a5576464ad86ac27 (patch) | |
| tree | 244a3759dcdac1dac71e6714b7be9317f2a30d70 /src/discord/interfaces.ts | |
| parent | style: Use base prettier:recommended rules (diff) | |
| download | umabotdiscord-1257d1419d04678296441904a5576464ad86ac27.tar.xz umabotdiscord-1257d1419d04678296441904a5576464ad86ac27.zip | |
feat: Add complaint system
Diffstat (limited to 'src/discord/interfaces.ts')
| -rw-r--r-- | src/discord/interfaces.ts | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/src/discord/interfaces.ts b/src/discord/interfaces.ts index 3eb81eb..6b26876 100644 --- a/src/discord/interfaces.ts +++ b/src/discord/interfaces.ts @@ -17,27 +17,41 @@ export interface DiscordInteraction { channel?: { nsfw: boolean; }; + guild_id?: string; + user?: { + id: string; + username: string; + avatar?: string; + }; + member?: { + user?: { + id: string; + username: string; + avatar?: string; + }; + }; } export interface DiscordEmbed { title: string; description: string; - url: string; + url?: string; color: number; - author: { + author?: { name: string; url: string; }; - fields: Array<{ + fields?: Array<{ name: string; value: string; inline: boolean; }>; - timestamp: string; - footer: { + timestamp?: string; + footer?: { text: string; }; image?: { url: string }; + thumbnail?: { url: string }; } export interface DiscordResponse { |