SlashCommandHandler typedef

SlashCommandHandler = FutureOr<void> Function(ISlashCommandInteractionEvent)

Function that will handle execution of slash command interaction event

Implementation

typedef SlashCommandHandler = FutureOr<void> Function(ISlashCommandInteractionEvent);