Event
public enum Event: Int
Type of action that occurs for an entry
-
A guild is updated
Declaration
Swift
case guildUpdate = 1
-
A channel is created in a guild
Declaration
Swift
case channelCreate = 10
-
A channel is updated in a guild
Declaration
Swift
case channelUpdate
-
A channel is deleted in a guild
Declaration
Swift
case channelDelete
-
A channel creates a new overwrite
Declaration
Swift
case channelOverwriteCreate
-
A channel’s overwrite is updated
Declaration
Swift
case channelOverwriteUpdate
-
A chanenl’s overwrite is deleted
Declaration
Swift
case channelOverwriteDelete
-
A member is kicked from a guild
Declaration
Swift
case memberKick = 20
-
Someone decides to prune inactive members
Declaration
Swift
case memberPrune
-
A member of a guild was banned
Declaration
Swift
case memberBanAdd
-
A member of a guild was unbanned
Declaration
Swift
case memberBanRemove
-
A member of a guild was updated
Declaration
Swift
case memberUpdate
-
A member’s role was updated
Declaration
Swift
case memberRoleUpdate
-
A role was created in a guild
Declaration
Swift
case roleCreate = 30
-
A role was updated in a guild
Declaration
Swift
case roleUpdate
-
A role was deleted in a guild
Declaration
Swift
case roleDelete
-
An invite was created in a guild
Declaration
Swift
case inviteCreate = 40
-
An invite was updated in a guild
Declaration
Swift
case inviteUpdate
-
An invite was deleted in a guild
Declaration
Swift
case inviteDelete
-
A webhook was created for a channel
Declaration
Swift
case webhookCreate = 50
-
A webhook was updated for a channel
Declaration
Swift
case webhookUpdate
-
A webhook was deleted for a channel
Declaration
Swift
case webhookDelete
-
A custom emoji was created in a guild
Declaration
Swift
case emojiCreate = 60
-
A custom emoji was updated in a guild
Declaration
Swift
case emojiUpdate
-
A custom emoji was deleted in a guild
Declaration
Swift
case emojiDelete
-
A message was deleted in a channel
Declaration
Swift
case messageDelete = 72