update json tpyes
This commit is contained in:
parent
4e77b7c66c
commit
0282fbec02
1 changed files with 4 additions and 3 deletions
|
@ -142,11 +142,11 @@ type userjson={
|
||||||
type memberjson= {
|
type memberjson= {
|
||||||
index?:number,
|
index?:number,
|
||||||
id: string,
|
id: string,
|
||||||
user: userjson,
|
user: userjson|null,
|
||||||
guild_id: string,
|
guild_id: string,
|
||||||
guild: {
|
guild: {
|
||||||
id: string
|
id: string
|
||||||
},
|
}|null,
|
||||||
nick: string,
|
nick: string,
|
||||||
roles: string[],
|
roles: string[],
|
||||||
joined_at: string,
|
joined_at: string,
|
||||||
|
@ -154,8 +154,9 @@ type memberjson= {
|
||||||
deaf: boolean,
|
deaf: boolean,
|
||||||
mute: boolean,
|
mute: boolean,
|
||||||
pending: boolean,
|
pending: boolean,
|
||||||
last_message_id: boolean
|
last_message_id?: boolean//What???
|
||||||
}
|
}
|
||||||
|
|
||||||
type guildjson={
|
type guildjson={
|
||||||
application_command_counts: {[key:string]:number},
|
application_command_counts: {[key:string]:number},
|
||||||
channels: channeljson[],
|
channels: channeljson[],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue