From 7f4e9786a2076a0a3567429224377841c2f0fbbd Mon Sep 17 00:00:00 2001 From: Fedor Lapshin Date: Tue, 14 May 2024 15:31:05 +0300 Subject: [PATCH] docs: add descriptions to events --- events.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events.go b/events.go index d1c541536..d36b97608 100644 --- a/events.go +++ b/events.go @@ -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"` @@ -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"`