dcord.gateway.events

Implementations of Discord events.

Members

Aliases

EventDeferredFunc
alias EventDeferredFunc = void delegate()

A wrapper type for delegates that can be attached to an event, and run after all listeners are executed. This can be used to ensure an event has fully passed through all listeners, or to avoid having function/stack pointers within plugin code (which allows for dynamically reloading the plugin).

Classes

ChannelCreate
class ChannelCreate

Sent when a channel is created.

ChannelDelete
class ChannelDelete

Sent when a channel is deleted.

ChannelPinsUpdate
class ChannelPinsUpdate

Sent when a channels pins are updated.

ChannelUpdate
class ChannelUpdate

Sent when a channel is updated.

GuildBanAdd
class GuildBanAdd

Sent when a guild ban is added.

GuildBanRemove
class GuildBanRemove

Sent when a guild ban is removed.

GuildCreate
class GuildCreate

Sent when a guild is created (often on startup).

GuildDelete
class GuildDelete

Sent when a guild is deleted (or becomes unavailable)

GuildEmojisUpdate
class GuildEmojisUpdate

Sent when a guilds emojis are updated.

GuildIntegrationsUpdate
class GuildIntegrationsUpdate

Sent when a guilds integrations are updated.

GuildMemberAdd
class GuildMemberAdd

Sent when a member is added to a guild.

GuildMemberRemove
class GuildMemberRemove

Sent when a member is removed from a guild.

GuildMemberUpdate
class GuildMemberUpdate

Sent when a guild member is updated.

GuildMembersChunk
class GuildMembersChunk

Sent in response to RequestGuildMembers.

GuildRoleCreate
class GuildRoleCreate

Sent when a guild role is created.

GuildRoleDelete
class GuildRoleDelete

Sent when a guild role is deleted.

GuildRoleUpdate
class GuildRoleUpdate

Sent when a guild role is updated.

GuildUpdate
class GuildUpdate

Sent when a guild is updated

MessageCreate
class MessageCreate

Sent when a message is created.

MessageDelete
class MessageDelete

Sent when a message is deleted.

MessageDeleteBulk
class MessageDeleteBulk

Sent when a bulk set of messages gets deleted from a channel.

MessageReactionAdd
class MessageReactionAdd

Sent when a reaction is added.

MessageUpdate
class MessageUpdate

Sent when a message is updated.

PresenceUpdate
class PresenceUpdate

Sent when a user's presence is updated.

Ready
class Ready

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

Resumed
class Resumed

Sent when we've completed a reconnect/resume sequence.

TypingStart
class TypingStart

Sent when a user starts typing.

UserSettingsUpdate
class UserSettingsUpdate

Sent when this users settings are updated.

UserUpdate
class UserUpdate

Sent when this user is updated.

VoiceServerUpdate
class VoiceServerUpdate

Sent when a voice server is updated.

VoiceStateUpdate
class VoiceStateUpdate

Sent when a voice state is updated.

Mixin templates

Event
mixintemplate Event()

Base template for events from discord. Handles basic initilization, and some deferred-function code.

Meta