mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
types: added Image types
This commit is contained in:
parent
4a3574b946
commit
bb545e1bd9
@ -100,3 +100,16 @@ export type ReportCategory =
|
||||
| '기타'
|
||||
|
||||
export type ListType = 'VOTE' | 'TRUSTED' | 'NEW' | 'PARTNERED' | 'CATEGORY' | 'SEARCH'
|
||||
|
||||
export type ImageFormat = 'webp' | 'png' | 'jpg' | 'gif'
|
||||
export type ImageSize = 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096
|
||||
export interface ImageOptions {
|
||||
format?: ImageFormat
|
||||
size?: ImageSize
|
||||
}
|
||||
export enum DiscordImageType {
|
||||
EMOJI = 'emoji',
|
||||
GUILD = 'guild',
|
||||
USER = 'user',
|
||||
FALLBACK = 'default'
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user