mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 13:36:08 +00:00

* feat(discord): soundboard api * chore: apply formatting * fix(gateway): events * feat(events): soundboard * chore: apply formatting * fix: xd * feat(api): soundboard routes * chore: apply formatting --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com>
11 lines
674 B
TypeScript
11 lines
674 B
TypeScript
export const DefaultUserAgent = 'DiscordBot (https://seyfert.dev, v2.1.0)';
|
|
export const ALLOWED_EXTENSIONS = ['webp', 'png', 'jpg', 'jpeg', 'gif'] as const;
|
|
export const ALLOWED_STICKER_EXTENSIONS = ['png', 'json', 'gif'] as const;
|
|
export const ALLOWED_SIZES = [16, 32, 64, 100, 128, 256, 512, 1_024, 2_048, 4_096] as const;
|
|
export const ALLOWED_SOUNDS_EXTENSIONS = ['mp3', 'ogg'] as const;
|
|
|
|
export type ImageExtension = (typeof ALLOWED_EXTENSIONS)[number];
|
|
export type StickerExtension = (typeof ALLOWED_STICKER_EXTENSIONS)[number];
|
|
export type ImageSize = (typeof ALLOWED_SIZES)[number];
|
|
export type SoundExtension = (typeof ALLOWED_SOUNDS_EXTENSIONS)[number];
|