@antiraid-ext/events/discord/Message
API reference for @antiraid-ext/events/discord/Message
@antiraid-ext/events/discord/Message
Functions
onMessage
Message
Run an event on message. This is a helper function that extracts the useful data from the event and calls the callback.
Function Signature
--- Message
---
--- Run an event on message. This is a helper function that extracts the useful data from the event and calls the callback.
function onMessage(event: Primitives.Event, callback: (msg: discordgateway.MessageCreatePayload) -> ()) end
Arguments
event
callback
Function Signature
callback: (msg: discordgateway.MessageCreatePayload) -> ()
Arguments
msg
Last updated on