/** * Application ID registered by @th-ch/youtube-music dev team */ export const clientId = '1177081335727267940'; /** * Throttle time for progress updates in milliseconds */ export const PROGRESS_THROTTLE_MS = 15_000; /** * Time in milliseconds to wait before sending a time update */ export const TIME_UPDATE_DEBOUNCE_MS = 5000; /** * Filler character for padding short Hangul strings (Discord requires min 2 chars) */ export const HANGUL_FILLER = '\u3164'; /** * Enum for keys used in TimerManager. */ export enum TimerKey { ClearActivity = 'clearActivity', // Timer to clear activity when paused UpdateTimeout = 'updateTimeout', // Timer for throttled activity updates DiscordConnectRetry = 'discordConnectRetry', // Timer for Discord connection retries } /** * An enum for Discord's activity.status_display_type field, governing which field of the activity should be used after * "Listening to..." in the user's Discord status. */ export const DiscordStatusDisplayType = { YOUTUBE_MUSIC: 0, ARTIST: 1, TITLE: 2, } as const;