types: added UserSpec

This commit is contained in:
wonderlandpark 2021-07-07 22:06:51 +09:00
parent 4f821bfc37
commit 65fc1081c5

View File

@ -37,6 +37,11 @@ export interface User {
bots: Bot[] | string[] bots: Bot[] | string[]
} }
export interface UserSpec extends User {
email: string
perm: string
}
export interface BotSpec { export interface BotSpec {
id: string id: string
webhook: string | null webhook: string | null