onInvalidCommandSuspend

open suspend fun onInvalidCommandSuspend(event: BaseCommandEvent, commandInfo: TextCommandInfo)(source)

Fired when a command is recognized, but the arguments do not correspond to any command variation.

Parameters

event

The event of the current command invocation

commandInfo

The command info of the command which the user tried to use