Enumerations
The following enumerations are available globally.
-
The types of audit actions.
See moreDeclaration
Swift
public enum DiscordAuditLogActionType : Int
-
Represents the type of a channel.
See moreDeclaration
Swift
public enum DiscordChannelType : Int
-
A enum representing a configuration option.
See moreDeclaration
Swift
public enum DiscordClientOption : CustomStringConvertible, Equatable
-
Represents the level of verbosity for the logger.
See moreDeclaration
Swift
public enum DiscordLogLevel
-
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
See moremyEventName
. If it is not handled, then the associated enum string will be the event name.Declaration
Swift
public enum DiscordDispatchEvent : String
-
Holds a gateway payload, based on its type.
See moreDeclaration
Swift
public enum DiscordGatewayPayloadData : Encodable
-
Top-level enum for gateway codes.
See moreDeclaration
Swift
public enum DiscordGatewayCode
-
Represents a regular gateway code
See moreDeclaration
Swift
public enum DiscordNormalGatewayCode : Int
-
Represents a voice gateway code
See moreDeclaration
Swift
public enum DiscordVoiceGatewayCode : Int
-
Represents the reason a gateway was closed.
See moreDeclaration
Swift
public enum DiscordGatewayCloseReason : Int
-
This enum defines the endpoints used to interact with the Discord API.
See moreDeclaration
Swift
public enum DiscordEndpoint : CustomStringConvertible
-
A type representing HTTP content.
See moreDeclaration
Swift
public enum HTTPContent : CustomStringConvertible
-
Represents the custom headers that Discord uses.
See moreDeclaration
Swift
public enum DiscordHeader : String
-
Represents the Discord OAuth endpoint and the different scopes Disocrd has.
See moreDeclaration
Swift
public enum DiscordOAuthEndpoint : String
-
Represents a permission overwrite type for a channel.
See moreDeclaration
Swift
public enum DiscordPermissionOverwriteType : String, Encodable
-
Used to report the status of a data request if data could not be returned.
See moreDeclaration
Swift
public enum DiscordVoiceDataSourceStatus : Error
-
Represents an error that can occur during voice operations.
See moreDeclaration
Swift
public enum DiscordVoiceError : Error