- bindEvents
void bindEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
- onChannelCreate
void onChannelCreate(ChannelCreate c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onChannelDelete
void onChannelDelete(ChannelDelete c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onChannelUpdate
void onChannelUpdate(ChannelUpdate c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onGuildCreate
void onGuildCreate(GuildCreate c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onGuildDelete
void onGuildDelete(GuildDelete c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onGuildUpdate
void onGuildUpdate(GuildUpdate c)
Undocumented in source. Be warned that the author may not have intended to support it.
- onReady
void onReady(Ready r)
Undocumented in source. Be warned that the author may not have intended to support it.
- onVoiceStateUpdate
void onVoiceStateUpdate(VoiceStateUpdate u)
Undocumented in source. Be warned that the author may not have intended to support it.
- listeners
BoundEmitter[][string] listeners;
Undocumented in source.
- on
EventListener on(string event, void delegate() f)
Undocumented in source. Be warned that the author may not have intended to support it.
- listen
EventListener listen(void delegate(T) f)
Undocumented in source. Be warned that the author may not have intended to support it.
- listenRaw
EventListener listenRaw(string event, void delegate(Variant) f)
Undocumented in source. Be warned that the author may not have intended to support it.
- listenAll
AllEventListener listenAll(void delegate(string, Variant) f)
Undocumented in source. Be warned that the author may not have intended to support it.
- emit
void emit(T obj)
Undocumented in source. Be warned that the author may not have intended to support it.
- emitByName
void emitByName(string name, T obj, bool all)
Undocumented in source. Be warned that the author may not have intended to support it.
The State class is used to track and maintain client state.