From 2cbfdf4a5bb93106e9463d3f2e4515bedfc858e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Sun, 10 Jan 2021 12:42:17 +0900 Subject: [PATCH] fix: https://github.com/koreanbots/v2-testing/issues/7 --- types/index.ts | 2 +- utils/Constants.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/types/index.ts b/types/index.ts index 6cad5bb..881c9eb 100644 --- a/types/index.ts +++ b/types/index.ts @@ -44,7 +44,7 @@ export interface BotList { totalPage: number } -export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' +export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' | null export type BotState = 'ok' | 'reported' | 'archived' | 'private' diff --git a/utils/Constants.ts b/utils/Constants.ts index 65b69e1..dec3ee4 100644 --- a/utils/Constants.ts +++ b/utils/Constants.ts @@ -15,6 +15,10 @@ export const Status = { text: '오프라인', color: 'gray-500', }, + streaming: { + text: '방송중', + color: 'purple-500' + }, null: { text: '알 수 없음', color: 'gray-500',