mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-21 03:57:26 +00:00
gateway: Rename RequestGuildMembersData.GuildID to GuildIDs for consistency
This commit is contained in:
parent
a3a3f5a1b8
commit
6c2fb008eb
|
@ -78,8 +78,10 @@ func (g *Gateway) HeartbeatCtx(ctx context.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
type RequestGuildMembersData struct {
|
type RequestGuildMembersData struct {
|
||||||
GuildID []discord.GuildID `json:"guild_id"`
|
// GuildIDs contains the ids of the guilds to request data from. Multiple
|
||||||
UserIDs []discord.UserID `json:"user_ids,omitempty"`
|
// guilds can only be requested when using user accounts.
|
||||||
|
GuildIDs []discord.GuildID `json:"guild_id"`
|
||||||
|
UserIDs []discord.UserID `json:"user_ids,omitempty"`
|
||||||
|
|
||||||
Query string `json:"query"`
|
Query string `json:"query"`
|
||||||
Limit uint `json:"limit"`
|
Limit uint `json:"limit"`
|
||||||
|
|
Loading…
Reference in a new issue