mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-12-08 12:58:17 +00:00
gateway: mark Intents field as omitempty in IdentifyCommand (#486)
This commit is contained in:
parent
3a8d18dcb7
commit
c3dc0bc002
|
|
@ -166,7 +166,7 @@ type IdentifyCommand struct {
|
|||
// For bot accounts, it must not be nil, and
|
||||
// Gateway.AddIntents(0) can be used if you want to
|
||||
// specify no intents.
|
||||
Intents option.Uint `json:"intents"`
|
||||
Intents option.Uint `json:"intents,omitempty"`
|
||||
}
|
||||
|
||||
// DefaultIdentifyCommand creates a default IdentifyCommand with the given token.
|
||||
|
|
|
|||
Loading…
Reference in a new issue