From 0015e7ad0062c1d09600927f074b4468b58bd93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Fri, 8 Jan 2021 22:18:32 +0900 Subject: [PATCH] type: added missing typing BotState --- types/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/index.ts b/types/index.ts index 0c9ae7f..f63edf4 100644 --- a/types/index.ts +++ b/types/index.ts @@ -1,6 +1,9 @@ +export type UserPemissionFlags = 'general' | 'staff' | 'bughunter' | 'booster' + export interface Bot { id: string name: string + state: BotState tag: string avatar: string status: Status @@ -36,6 +39,8 @@ export interface User { export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' +export type BotState = 'ok' | 'reported' | 'archived' | 'private' + export type Library = | 'discord.js' | 'Eris'