SlashCommandHandler typedef Null safety

SlashCommandHandler = FutureOr<void> Function(SlashCommandInteractionEvent)

Function that will handle execution of slash command interaction event

Implementation

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