Module dscord.bot.listener
Utilties for handling/listening to events through the dscord bot interface.
Functions
Name | Description |
---|---|
Listener
|
UDA that can be used on a Plugin, informing it that the function will handle all events of type T. |
Classes
Name | Description |
---|---|
ListenerObject
|
A ListenerObject represents the configuration/state for a single listener .
|
Structs
Name | Description |
---|---|
ListenerDef
|
Utility struct returned by the UDA. |
Templates
Name | Description |
---|---|
Listenable
|
The Listenable template is a virtual implementation which handles the listener
UDAs, storing them within a local "listeners " mapping.
|