onSlashCommandEvent

abstract fun onSlashCommandEvent(event: SlashCommandInteractionEvent)

Handled when discord send an SlashCommandInteractionEvent

Parameters

event

The SlashCommandInteractionEvent sent by Discord.