One registered definition with its handler, services provided.
handle answers ack or close without calling the handler when
the event does not match or its value no longer decodes.
Attributes#
| Attribute | Type | Description |
|---|---|---|
definition | Definition | |
handle | Callable[[Interaction], Effect[_AnyReply]] |
Functions#
__init__#
__init__(definition, handle) -> None| Parameter | Type | Description |
|---|---|---|
definition | Definition | |
handle | Callable[[Interaction], Effect[_AnyReply]] |