onInteractionCreate

abstract fun onInteractionCreate(handler: suspend (Interaction) -> Unit)(source)

Called when a new interaction is created.

Parameters

handler

The updated webhook.