Type Alias CommandFunction

CommandFunction: ((interaction: CommandInteraction) =>
    | Promise<InteractionReplyOptions | string | void>
    | InteractionReplyOptions
    | string
    | void)

Function executed when a bot command is called.