postCallHooks property

Iterable<void Function(CommandContext)> postCallHooks

An iterable of callbacks executed after a command is executed.

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

You might also be interested in:

  • CallHooked.onPostCall, for registering arbitrary callbacks to be executed after a command is executed but after all checks have succeeded.

Implementation

Iterable<void Function(CommandContext)> get postCallHooks;