1
0
Fork 0
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:
Maximilian von Lindern 2021-05-29 21:41:22 +02:00 committed by diamondburned
parent a3a3f5a1b8
commit 6c2fb008eb

View file

@ -78,8 +78,10 @@ func (g *Gateway) HeartbeatCtx(ctx context.Context) error {
}
type RequestGuildMembersData struct {
GuildID []discord.GuildID `json:"guild_id"`
UserIDs []discord.UserID `json:"user_ids,omitempty"`
// GuildIDs contains the ids of the guilds to request data from. Multiple
// 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"`
Limit uint `json:"limit"`