mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
types: added Bot, User typing
This commit is contained in:
parent
fcce01c9b7
commit
2e50841010
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user