delegate property
inherited
The delegate of this context.
If this is set, most operations on this context will be forwarded to this context instead. This prevents contexts from going stale when waiting for a user to interact and makes the command flow more accurate in the Discord UI.
You might also be interested in:
- awaitButtonPress, awaitSelection and awaitMultiSelection, some of the methods that can create a context to delegate to.
- parent, the context of which this context is the delegate.
Implementation
@override
InteractiveContext? get delegate => _delegate;