update json tpyes

This commit is contained in:
MathMan05 2024-08-10 16:27:31 -05:00
parent 4e77b7c66c
commit 0282fbec02

View file

@ -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[],