mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00
feat: update constants
This commit is contained in:
parent
e6f94d409d
commit
4061f00625
@ -1,7 +1,7 @@
|
||||
export const DefaultUserAgent = 'DiscordBot (https://seyfert.dev)';
|
||||
export const DefaultUserAgent = 'DiscordBot (https://seyfert.dev, v2.0.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, 128, 256, 512, 1_024, 2_048, 4_096] as const;
|
||||
export const ALLOWED_SIZES = [16, 32, 64, 100, 128, 256, 512, 1_024, 2_048, 4_096] as const;
|
||||
|
||||
export type ImageExtension = (typeof ALLOWED_EXTENSIONS)[number];
|
||||
export type StickerExtension = (typeof ALLOWED_STICKER_EXTENSIONS)[number];
|
||||
|
Loading…
x
Reference in New Issue
Block a user