postCallHooks property

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

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

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