Skip to content

Commit

Permalink
gateway: add missing Event suffix to GuildMemberListUpdateEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
samhza committed Aug 4, 2024
1 parent 231b475 commit 8384093
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions gateway/event_methods.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions gateway/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,10 @@ type GuildMembersChunkEvent struct {
Nonce string `json:"nonce,omitempty"`
}

// GuildMemberListUpdate is a dispatch event. It is an undocumented event. It's
// received when the client sends over GuildSubscriptions with the Channels
// field used. The State package does not handle this event.
type GuildMemberListUpdate struct {
// GuildMemberListUpdateEvent is a dispatch event. It is an undocumented event.
// It's received when the client sends over GuildSubscriptions with the Channels
// field used. The State package does not handle this event.
type GuildMemberListUpdateEvent struct {
ID string `json:"id"`
GuildID discord.GuildID `json:"guild_id"`
MemberCount uint64 `json:"member_count"`
Expand Down

0 comments on commit 8384093

Please sign in to comment.