Skip to content

Commit

Permalink
docs: add descriptions to events
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed May 14, 2024
1 parent ae3572e commit 7f4e978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions events.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ type GuildAuditLogEntryCreate struct {
*AuditLogEntry
}

// MessagePollVoteAdd is the data for a MessagePollVoteAdd event.
type MessagePollVoteAdd struct {
UserID string `json:"user_id"`
ChannelID string `json:"channel_id"`
Expand All @@ -415,6 +416,7 @@ type MessagePollVoteAdd struct {
AnswerID int `json:"answer_id"`
}

// MessagePollVoteRemove is the data for a MessagePollVoteRemove event.
type MessagePollVoteRemove struct {
UserID string `json:"user_id"`
ChannelID string `json:"channel_id"`
Expand Down

0 comments on commit 7f4e978

Please sign in to comment.