preCallHooks property

  1. @override
Iterable<void Function(CommandContext context)> preCallHooks
override

An iterable of callbacks executed before a command is executed but after all the checks for that command have succeeded.

These callbacks should be used to update this check's state.

You might also be interested in:

Implementation

@override
Iterable<void Function(CommandContext context)> get preCallHooks => [];