checkSuspend

open suspend fun checkSuspend(event: MessageReceivedEvent, commandVariation: TextCommandVariation, args: String): T?(source)

Returns null if this filter should allow the command to run, or returns your own object if it can't.

The object will be passed to your TextCommandRejectionHandler if the command is rejected.