1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

Gateway: remove GuildSubscriptions from IdentifyData

With the requirement of intents on Gateway v8, the guild_subscriptions field has no effect, and is therefore removed
This commit is contained in:
mavolin 2020-11-03 19:14:10 +01:00 committed by diamondburned
parent eb118dc1d6
commit aff386402f

View file

@ -39,7 +39,6 @@ type IdentifyData struct {
Compress bool `json:"compress,omitempty"` // true
LargeThreshold uint `json:"large_threshold,omitempty"` // 50
GuildSubscriptions bool `json:"guild_subscriptions"` // true
Shard *Shard `json:"shard,omitempty"` // [ shard_id, num_shards ]
@ -71,7 +70,6 @@ func DefaultIdentifier(token string) *Identifier {
Compress: true,
LargeThreshold: 50,
GuildSubscriptions: true,
})
}