Ready

Sent when we initially connect, contains base state and connection information.

Members

Functions

load
void load(JSON obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Event
Undocumented in source.

Variables

dms
Channel[] dms;
Undocumented in source.
guilds
Guild[] guilds;
Undocumented in source.
heartbeatInterval
uint heartbeatInterval;
Undocumented in source.
me
User me;
Undocumented in source.
sessionID
string sessionID;
Undocumented in source.
ver
ushort ver;
Undocumented in source.

Mixed In Members

From mixin Event

client
Client client;
Undocumented in source.
deferred
EventDeferredFunc[] deferred;

Array of functions to be ran when this event has completed its pass through the any listeners, and is ready to be destroyed.

this
this(Client c, JSON obj)
Undocumented in source.
defer
void defer(EventDeferredFunc f)

Used to defer a functions execution until after this event has passed through all listeners, and is ready to be destroyed.

resolveDeferreds
void resolveDeferreds()

Calls all deferred functions.

Meta