DiscordDispatchEvent
public enum DiscordDispatchEvent : String
An enum that represents the dispatch events Discord sends.
If one of these events is handled specifically by the client then it will be turned into an event with the form
myEventName
. If it is not handled, then the associated enum string will be the event name.
-
Ready (Handled)
Declaration
Swift
case ready = "READY"
-
Resumed (Handled)
Declaration
Swift
case resumed = "RESUMED"
-
Message Create (Handled)
Declaration
Swift
case messageCreate = "MESSAGE_CREATE"
-
Message Delete (Not handled)
Declaration
Swift
case messageDelete = "MESSAGE_DELETE"
-
Message Delete Bulk (Not handled)
Declaration
Swift
case messageDeleteBulk = "MESSAGE_DELETE_BULK"
-
Message Reaction Add (Not handled)
Declaration
Swift
case messageReactionAdd = "MESSAGE_REACTION_ADD"
-
Message Reaction Remove All (Not handled)
Declaration
Swift
case messageReactionRemoveAll = "MESSAGE_REACTION_REMOVE_ALL"
-
Message Reaction Remove (Not handled)
Declaration
Swift
case messageReactionRemove = "MESSAGE_REACTION_REMOVE"
-
Message Update (Not handled)
Declaration
Swift
case messageUpdate = "MESSAGE_UPDATE"
-
Guild Ban Add (Not handled)
Declaration
Swift
case guildBanAdd = "GUILD_BAN_ADD"
-
Guild Ban Remove (Not handled)
Declaration
Swift
case guildBanRemove = "GUILD_BAN_REMOVE"
-
Guild Create (Handled)
Declaration
Swift
case guildCreate = "GUILD_CREATE"
-
GuildDelete (Handled)
Declaration
Swift
case guildDelete = "GUILD_DELETE"
-
Guild Emojis Update (Handled)
Declaration
Swift
case guildEmojisUpdate = "GUILD_EMOJIS_UPDATE"
-
Guild Integrations Update (Not handled)
Declaration
Swift
case guildIntegrationsUpdate = "GUILD_INTEGRATIONS_UPDATE"
-
Guild Member Add (Handled)
Declaration
Swift
case guildMemberAdd = "GUILD_MEMBER_ADD"
-
Guild Member Remove (Handled)
Declaration
Swift
case guildMemberRemove = "GUILD_MEMBER_REMOVE"
-
Guild Member Update (Handled)
Declaration
Swift
case guildMemberUpdate = "GUILD_MEMBER_UPDATE"
-
Guild Members Chunk (Handled)
Declaration
Swift
case guildMembersChunk = "GUILD_MEMBERS_CHUNK"
-
Guild Role Create (Handled)
Declaration
Swift
case guildRoleCreate = "GUILD_ROLE_CREATE"
-
Guild Role Delete (Handled)
Declaration
Swift
case guildRoleDelete = "GUILD_ROLE_DELETE"
-
Guild Role Update (Handled)
Declaration
Swift
case guildRoleUpdate = "GUILD_ROLE_UPDATE"
-
Guild Update (Handled)
Declaration
Swift
case guildUpdate = "GUILD_UPDATE"
-
Channel Create (Handled)
Declaration
Swift
case channelCreate = "CHANNEL_CREATE"
-
Channel Delete (Handled)
Declaration
Swift
case channelDelete = "CHANNEL_DELETE"
-
Channel Pins Update (Not Handled)
Declaration
Swift
case channelPinsUpdate = "CHANNEL_PINS_UPDATE"
-
Channel Update (Handled)
Declaration
Swift
case channelUpdate = "CHANNEL_UPDATE"
-
Voice Server Update (Handled but no event emitted)
Declaration
Swift
case voiceServerUpdate = "VOICE_SERVER_UPDATE"
-
Voice State Update (Handled)
Declaration
Swift
case voiceStateUpdate = "VOICE_STATE_UPDATE"
-
Presence Update (Handled)
Declaration
Swift
case presenceUpdate = "PRESENCE_UPDATE"
-
Typing Start (Not handled)
Declaration
Swift
case typingStart = "TYPING_START"
-
Webhooks Update (Not handled)
Declaration
Swift
case webhooksUpdate = "WEBHOOKS_UPDATE"