@antiraid-ext/events/discord/InteractionCreate
API reference for @antiraid-ext/events/discord/InteractionCreate
@antiraid-ext/events/discord/InteractionCreate
Functions
onInteractionCreate
InteractionCreate
Run an event on interaction create (e.g a slash command was used or a button was clicked)
Function Signature
--- InteractionCreate
---
--- Run an event on interaction create (e.g a slash command was used or a button was clicked)
function onInteractionCreate(event: Primitives.Event, callback: (interaction: discord.InteractionObject) -> ()) endArguments
event
callback
Function Signature
callback: (interaction: discord.InteractionObject) -> ()Arguments
interaction
Last updated on