onPreCall property

  1. @override
Stream<MessageContext> onPreCall
latefinal

A stream that emits contexts before the command callback is executed.

This stream emits before the callback is executed, but after checks and argument parsing is complete.

You might also be interested in: -onPostCall, for listening to the end of a command execution.

Implementation

@override
late final Stream<MessageContext> onPreCall = _preCallController.stream;