Remove GuildSubscriptions field from Identify struct (#992)
Co-authored-by: rigormorrtiss <rigormorrtiss@gmail.com>
This commit is contained in:
parent
12edb3b8c7
commit
0413c18206
2 changed files with 7 additions and 9 deletions
|
@ -49,7 +49,6 @@ func New(token string) (s *Session, err error) {
|
||||||
// These can be modified prior to calling Open()
|
// These can be modified prior to calling Open()
|
||||||
s.Identify.Compress = true
|
s.Identify.Compress = true
|
||||||
s.Identify.LargeThreshold = 250
|
s.Identify.LargeThreshold = 250
|
||||||
s.Identify.GuildSubscriptions = true
|
|
||||||
s.Identify.Properties.OS = runtime.GOOS
|
s.Identify.Properties.OS = runtime.GOOS
|
||||||
s.Identify.Properties.Browser = "DiscordGo v" + VERSION
|
s.Identify.Properties.Browser = "DiscordGo v" + VERSION
|
||||||
s.Identify.Intents = IntentsAllWithoutPrivileged
|
s.Identify.Intents = IntentsAllWithoutPrivileged
|
||||||
|
|
|
@ -1701,7 +1701,6 @@ type Identify struct {
|
||||||
LargeThreshold int `json:"large_threshold"`
|
LargeThreshold int `json:"large_threshold"`
|
||||||
Shard *[2]int `json:"shard,omitempty"`
|
Shard *[2]int `json:"shard,omitempty"`
|
||||||
Presence GatewayStatusUpdate `json:"presence,omitempty"`
|
Presence GatewayStatusUpdate `json:"presence,omitempty"`
|
||||||
GuildSubscriptions bool `json:"guild_subscriptions"`
|
|
||||||
Intents Intent `json:"intents"`
|
Intents Intent `json:"intents"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue