mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-08 20:47:13 +00:00
state: Fix up ReadyEvent
This commit is contained in:
parent
406171d7a9
commit
08a1db0e4a
|
@ -630,8 +630,10 @@ type RelationshipRemoveEvent struct {
|
|||
}
|
||||
|
||||
// ReadyEvent is a dispatch event for READY.
|
||||
//
|
||||
// https://discord.com/developers/docs/topics/gateway#ready
|
||||
type ReadyEvent struct {
|
||||
Version int `json:"version"`
|
||||
Version int `json:"v"`
|
||||
|
||||
User discord.User `json:"user"`
|
||||
SessionID string `json:"session_id"`
|
||||
|
@ -641,6 +643,11 @@ type ReadyEvent struct {
|
|||
|
||||
Shard *Shard `json:"shard,omitempty"`
|
||||
|
||||
Application struct {
|
||||
ID discord.AppID `json:"id"`
|
||||
Flags discord.ApplicationFlags `json:"flags"`
|
||||
} `json:"application"`
|
||||
|
||||
// Undocumented fields
|
||||
|
||||
UserSettings *UserSettings `json:"user_settings,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue