Protocols

The following protocols are available globally.

  • Create a nifty Event Emitter in Swift

    See more

    Declaration

    Swift

    public protocol Eventable: class
  • Generic Channel structure

    See more

    Declaration

    Swift

    public protocol Channel
  • Used to distinguish channels that are pure text base and voice channels

    See more

    Declaration

    Swift

    public protocol TextChannel: Channel
  • Distinguishes Guild channels over dm type channels

    See more

    Declaration

    Swift

    public protocol GuildChannel: class, Channel