Structs

The following structs are available globally.

  • Represents a guild’s audit log

    See more

    Declaration

    Swift

    public struct AuditLog
  • Emoji Type

    See more

    Declaration

    Swift

    public struct Emoji
  • UnavailableGuild Type

    See more

    Declaration

    Swift

    public struct UnavailableGuild
  • Similar to a Guild type, but provides bare minimal info

    See more

    Declaration

    Swift

    public struct UserGuild
  • Permission Overwrite Type

    See more

    Declaration

    Swift

    public struct Overwrite
  • Invite structure

    See more

    Declaration

    Swift

    public struct Invite
  • Member Type

    See more

    Declaration

    Swift

    public struct Member
  • Structure for presences

    See more

    Declaration

    Swift

    public struct Presence
  • Role Type

    See more

    Declaration

    Swift

    public struct Role
  • The stored type of a Discord Snowflake ID.

    See more

    Declaration

    Swift

    public struct Snowflake
  • User Type

    See more

    Declaration

    Swift

    public struct User
  • Structure with user’s voice state info

    See more

    Declaration

    Swift

    public struct VoiceState
  • Webhook structure

    See more

    Declaration

    Swift

    public struct Webhook
  • Custom Error type for quick details on why a request failed

    See more

    Declaration

    Swift

    public struct RequestError: Error
  • Creates a Youtube structure to play audio from (Requires youtube-dl to be installed)

    See more

    Declaration

    Swift

    public struct Youtube