SlashCommandHandler typedef Null safety

FutureOr<void> SlashCommandHandler (
  1. InteractionEvent
)

Function that will handle execution of interaction event

Implementation

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