From 88caef75b0331a0b3173618dcce69bdccdbe09b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Thu, 11 Feb 2021 21:03:44 +0900 Subject: [PATCH] types: added types --- types/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/index.ts b/types/index.ts index eacf4a9..5b52ecb 100644 --- a/types/index.ts +++ b/types/index.ts @@ -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'