DiscordGateway

Undocumented in source.
class DiscordGateway {}

Constructors

this
this(string token)
Undocumented in source.

Members

Enums

Encoding
enum Encoding
Undocumented in source.

Functions

connect
void connect(Encoding encoding, bool handled)
Undocumented in source. Be warned that the author may not have intended to support it.
connected
bool connected()
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect(short code)
Undocumented in source. Be warned that the author may not have intended to support it.
disconnectVoiceChannel
void disconnectVoiceChannel(Snowflake guild, bool selfMute, bool selfDeaf)
Undocumented in source. Be warned that the author may not have intended to support it.
joinVoiceChannel
void joinVoiceChannel(Snowflake guild, Snowflake channel, bool selfMute, bool selfDeaf)
Undocumented in source. Be warned that the author may not have intended to support it.
onChannelCreate
void onChannelCreate(Channel c)
Undocumented in source. Be warned that the author may not have intended to support it.
onChannelDelete
void onChannelDelete(Channel c)
Undocumented in source. Be warned that the author may not have intended to support it.
onChannelPinsUpdate
void onChannelPinsUpdate(ChannelPinsUpdatePacket )
Undocumented in source. Be warned that the author may not have intended to support it.
onChannelUpdate
void onChannelUpdate(Channel c)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildBanAdd
void onGuildBanAdd(User user, Snowflake guild_id)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildBanRemove
void onGuildBanRemove(User user, Snowflake guild_id)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildCreate
void onGuildCreate(Guild g)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildDelete
void onGuildDelete(UnavailableGuild g)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildEmojisUpdate
void onGuildEmojisUpdate(GuildEmojisUpdatePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildIntegrationsUpdate
void onGuildIntegrationsUpdate(GuildIntegrationsUpdatePacket )
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildMemberAdd
void onGuildMemberAdd(GuildMember member, Snowflake guild_id, bool isChunk)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildMemberRemove
void onGuildMemberRemove(GuildMemberRemovePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildMemberUpdate
void onGuildMemberUpdate(GuildMemberUpdatePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildMembersChunk
void onGuildMembersChunk(GuildMembersChunkPacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildRoleCreate
void onGuildRoleCreate(GuildRoleCreatePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildRoleDelete
void onGuildRoleDelete(GuildRoleDeletePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildRoleUpdate
void onGuildRoleUpdate(GuildRoleUpdatePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onGuildUpdate
void onGuildUpdate(Guild g)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageCreate
void onMessageCreate(Message m)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageDelete
void onMessageDelete(MessageDeletePacket m)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageDeleteBulk
void onMessageDeleteBulk(MessageDeleteBulkPacket m)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageReactionAdd
void onMessageReactionAdd(MessageReactionAddPacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageReactionRemove
void onMessageReactionRemove(MessageReactionRemovePacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageReactionRemoveAll
void onMessageReactionRemoveAll(MessageReactionRemoveAllPacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageUpdate
void onMessageUpdate(Message m)
Undocumented in source. Be warned that the author may not have intended to support it.
onPresenceUpdate
void onPresenceUpdate(PresenceUpdate p)
Undocumented in source. Be warned that the author may not have intended to support it.
onReadyEvent
void onReadyEvent(ReadyPacket packet)
Undocumented in source. Be warned that the author may not have intended to support it.
onResumedEvent
void onResumedEvent(ResumedPacket )
Undocumented in source. Be warned that the author may not have intended to support it.
onTypingStart
void onTypingStart(TypingStartPacket p)
Undocumented in source. Be warned that the author may not have intended to support it.
onUserUpdate
void onUserUpdate(User u)
Undocumented in source. Be warned that the author may not have intended to support it.
onVoiceServerUpdate
void onVoiceServerUpdate(VoiceServerUpdatePacket )
Undocumented in source. Be warned that the author may not have intended to support it.
onVoiceStateUpdate
void onVoiceStateUpdate(VoiceState s)
Undocumented in source. Be warned that the author may not have intended to support it.
onWebhooksUpdate
void onWebhooksUpdate(WebhooksUpdatePacket )
Undocumented in source. Be warned that the author may not have intended to support it.
processEvent
void processEvent(OpFrame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
OpFrame receive()
Undocumented in source. Be warned that the author may not have intended to support it.
reconnect
void reconnect(bool resume)
Undocumented in source. Be warned that the author may not have intended to support it.
runHeartbeat
void runHeartbeat(Duration interval)
Undocumented in source. Be warned that the author may not have intended to support it.
runWorker
void runWorker(bool resume)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
sendHeartbeat
void sendHeartbeat()
Undocumented in source. Be warned that the author may not have intended to support it.
updateStatus
void updateStatus(UpdateStatus.StatusType status, Nullable!Activity game, bool afk, SysTime idleSince)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ConnectionInfo
struct ConnectionInfo
Undocumented in source.

Variables

identifyPacket
OpIdentify identifyPacket;
Undocumented in source.
info
ConnectionInfo info;
Undocumented in source.

Meta