From a04c409a93927c84680e070b8f9e4fb542df96ec Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Thu, 21 Mar 2024 22:37:19 +0100 Subject: [PATCH] add current intent requirement --- events/message_events.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/events/message_events.go b/events/message_events.go index 489cc337..00db0927 100644 --- a/events/message_events.go +++ b/events/message_events.go @@ -44,7 +44,7 @@ type MessageDelete struct { *GenericMessage } -// GenericMessagePoll is a generic poll event +// GenericMessagePoll is a generic poll event (requires gateway.IntentGuildMessageReactions or gateway.IntentDirectMessageReactions) type GenericMessagePoll struct { *GenericEvent UserID snowflake.ID @@ -54,12 +54,12 @@ type GenericMessagePoll struct { AnswerID int } -// MessagePollVoteAdd indicates that a discord.User voted on a discord.Poll +// MessagePollVoteAdd indicates that a discord.User voted on a discord.Poll (requires gateway.IntentGuildMessageReactions or gateway.IntentDirectMessageReactions) type MessagePollVoteAdd struct { *GenericMessagePoll } -// MessagePollVoteRemove indicates that a discord.User removed their vote on a discord.Poll +// MessagePollVoteRemove indicates that a discord.User removed their vote on a discord.Poll (requires gateway.IntentGuildMessageReactions or gateway.IntentDirectMessageReactions) type MessagePollVoteRemove struct { *GenericMessagePoll }