types: added types

This commit is contained in:
원더 2021-02-11 21:03:44 +09:00
parent 049b51b67b
commit 88caef75b0

View File

@ -124,6 +124,15 @@ export interface DiscordUserInfo {
premium_type: 0 | 1 | 2
}
export interface UserCache {
id: string
version: number
username: string
tag: string
}
export type Theme = 'dark' | 'light' | 'system'
export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' | null
export type BotState = 'ok' | 'reported' | 'archived' | 'private'