Enumerations

The following enumerations are available globally.

  • A enum representing a configuration option.

    See more

    Declaration

    Swift

    public enum DiscordClientOption : CustomStringConvertible, Equatable
  • Represents the level of verbosity for the logger.

    See more

    Declaration

    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 myEventName. If it is not handled, then the associated enum string will be the event name.

    See more

    Declaration

    Swift

    public enum DiscordDispatchEvent : String
  • This enum defines the endpoints used to interact with the Discord API.

    See more

    Declaration

    Swift

    public enum DiscordEndpoint : CustomStringConvertible
  • A type representing HTTP content.

    See more

    Declaration

    Swift

    public enum HTTPContent : CustomStringConvertible
  • Represents the custom headers that Discord uses.

    See more

    Declaration

    Swift

    public enum DiscordHeader : String
  • Represents the Discord OAuth endpoint and the different scopes Disocrd has.

    See more

    Declaration

    Swift

    public enum DiscordOAuthEndpoint : String
  • Used to report the status of a data request if data could not be returned.

    See more

    Declaration

    Swift

    public enum DiscordVoiceDataSourceStatus : Error
  • Represents an error that can occur during voice operations.

    See more

    Declaration

    Swift

    public enum DiscordVoiceError : Error