LogoAntiRaid

@antiraid-ext/events/discord/MessagePollVoteAdd

API reference for @antiraid-ext/events/discord/MessagePollVoteAdd

@antiraid-ext/events/discord/MessagePollVoteAdd

Functions

onMessagePollVoteAdd

MessagePollVoteAdd

Dispatched when a user votes in a poll.

This will be dispatched multiple times if multiple answers are selected.

Function Signature
--- MessagePollVoteAdd
---
--- Dispatched when a user votes in a poll.
---
--- This will be dispatched multiple times if multiple answers are selected.
function onMessagePollVoteAdd(event: Primitives.Event, callback: (vote: discordGateway.MessagePollVoteAdd) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (vote: discordGateway.MessagePollVoteAdd) -> ()

Arguments

vote

discordGateway.MessagePollVoteAdd

Last updated on