diff --git a/types/index.ts b/types/index.ts index 74f6c91..5f9ea90 100644 --- a/types/index.ts +++ b/types/index.ts @@ -1,3 +1,41 @@ +export interface Bot { + id: string + name: string + tag: string + avatar: string + status: Status + lib: Library + prefix: string + votes: number + servers: number + intro: string + desc: string + category: Category[] + web?: string + git?: string + url?: string + discord?: string + verified: boolean + trusted: boolean + partnered: boolean + vanity: string | null + bg: string + banner: string + owners: User[] | string[] +} + +export interface User { + id: string + avatar: string + tag: string + username: string + perm: number + github: string + bots: Bot[] | string[] +} + +export type Status = 'online' | 'offline' | 'dnd' | 'idle' | 'streaming' + export type Library = | 'discord.js' | 'Eris'