dcord.bot.listener

Utilties for handling/listening to events through the dcord bot interface.

Members

Classes

ListenerObject
class ListenerObject

A ListenerObject represents the configuration/state for a single listener.

Functions

Listener
ListenerDef!T Listener()

UDA that can be used on a Plugin, informing it that the function will handle all events of type T.

Mixin templates

Listenable
mixintemplate Listenable()

The Listenable template is a virtual implementation which handles the listener UDAs, storing them within a local "listeners" mapping.

Structs

ListenerDef
struct ListenerDef(T)

Utility struct returned by the UDA.

Meta