Download src/types.ts from Zestysson/gfds: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/spaces/Zestysson/gfds/resolve/main/src/types.ts
- Command line
-
hf download hf://spaces/Zestysson/gfds/src/types.ts
-
curl -L -o types.ts https://huggingface.co/spaces/Zestysson/gfds/resolve/main/src/types.ts
3.43 kB
| export interface SongTrack { | |
| id: string; | |
| title: string; | |
| artist: string; | |
| duration: string; | |
| genre: string; | |
| requester?: string; | |
| } | |
| export interface BotStats { | |
| guilds: number; | |
| users: number; | |
| voiceChannels: number; | |
| ping: number; | |
| uptime: string; | |
| } | |
| export interface DiscordCommand { | |
| name: string; | |
| description: string; | |
| syntax: string; | |
| examples: string[]; | |
| category: 'music' | 'settings' | 'customization' | 'fun'; | |
| } | |
| export interface DiscordEmbedField { | |
| name: string; | |
| value: string; | |
| inline?: boolean; | |
| } | |
| export interface DiscordEmbed { | |
| title?: string; | |
| description?: string; | |
| color?: string; // Tailwind color class or hex decoration | |
| fields?: DiscordEmbedField[]; | |
| footer?: string; | |
| thumbnail?: string; | |
| } | |
| export interface MockDiscordMessage { | |
| id: string; | |
| author: { | |
| username: string; | |
| avatar: string; | |
| isBot: boolean; | |
| colorClass: string; | |
| }; | |
| content?: string; | |
| timestamp: string; | |
| embed?: DiscordEmbed; | |
| } | |
| export const INITIAL_QUEUE: SongTrack[] = [ | |
| { id: 'track-1', title: 'Provenza', artist: 'KAROL G', duration: '03:27', genre: 'Reggaeton', requester: 'cristophergamer' }, | |
| { id: 'track-2', title: 'La Bachata', artist: 'Manuel Turizo', duration: '02:42', genre: 'Bachata', requester: 'mandy_xx' }, | |
| { id: 'track-3', title: 'Un Preview', artist: 'Bad Bunny', duration: '02:44', genre: 'Reggaeton/Trap', requester: 'shreed_33' }, | |
| { id: 'track-4', title: 'Ella Baila Sola', artist: 'Eslabon Armado & Peso Pluma', duration: '02:44', genre: 'Regional Mexicano', requester: 'cristophergamer' }, | |
| { id: 'track-5', title: 'Amargura', artist: 'KAROL G', duration: '02:50', genre: 'Reggaeton', requester: 'zesty_fans' }, | |
| ]; | |
| export const BOT_COMMANDS: DiscordCommand[] = [ | |
| { | |
| name: 'play', | |
| description: 'Plays any song from Spotify, YouTube, SoundCloud or a vibe query.', | |
| syntax: '/play <song name, artist, or URL>', | |
| examples: ['/play lofi study beats', '/play https://spotify.com/track/...'], | |
| category: 'music' | |
| }, | |
| { | |
| name: 'skip', | |
| description: 'Skips the currently playing song to the next in queue.', | |
| syntax: '/skip', | |
| examples: ['/skip'], | |
| category: 'music' | |
| }, | |
| { | |
| name: 'queue', | |
| description: 'Displays the current active song and upcoming tracklist.', | |
| syntax: '/queue', | |
| examples: ['/queue'], | |
| category: 'music' | |
| }, | |
| { | |
| name: 'volume', | |
| description: 'Sets the playback volume level instantly (0% to 150%).', | |
| syntax: '/volume <level>', | |
| examples: ['/volume 85', '/volume 120'], | |
| category: 'settings' | |
| }, | |
| { | |
| name: 'bassboost', | |
| description: 'Toggles high-gain bass filter (Low, Medium, Extreme, Disabled).', | |
| syntax: '/bassboost <mode>', | |
| examples: ['/bassboost extreme', '/bassboost off'], | |
| category: 'customization' | |
| }, | |
| { | |
| name: 'lyrics', | |
| description: 'Searches and displays live lyric sync for the active song.', | |
| syntax: '/lyrics', | |
| examples: ['/lyrics'], | |
| category: 'fun' | |
| }, | |
| { | |
| name: 'filter', | |
| description: 'Applies premium high-fidelity DSP filters to the voice channel.', | |
| syntax: '/filter <ambient | lofi | nightcore | vaporwave | normal>', | |
| examples: ['/filter nightcore', '/filter normal'], | |
| category: 'customization' | |
| }, | |
| { | |
| name: 'status', | |
| description: 'Displays bot latencies, system statistics, and active shard info.', | |
| syntax: '/status', | |
| examples: ['/status'], | |
| category: 'settings' | |
| } | |
| ]; | |