Skip to content

Commit

Permalink
fix (gateway): minor DocC comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoAlgorithm committed Sep 10, 2022
1 parent 2244b11 commit 7936ef9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/DiscordKit/Gateway/DiscordGateway.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class DiscordGateway: ObservableObject {
///
/// > New properties will not be added to the ``CachedState`` class
/// > since it doesn't seem to play well with SwiftUI, causing all sorts of
/// > stale UI issues (i.e. the UI not updating even with )
/// > stale UI issues (i.e. stale UI)
@Published public var cache: CachedState = CachedState()

/// An array of presences, kept updated as long as the Gateway connection is active
Expand All @@ -52,6 +52,11 @@ public class DiscordGateway: ObservableObject {
/// An array of guild folders
@Published public var guildFolders: [GuildFolderItem] = []

/// An array of the current user's DMs
///
/// Includes both single DMs and group DMs
@Published public var privateChannels: [Channel] = []

private var evtListenerID: EventDispatch.HandlerIdentifier? = nil,
authFailureListenerID: EventDispatch.HandlerIdentifier? = nil,
connStateChangeListenerID: EventDispatch.HandlerIdentifier? = nil
Expand Down

0 comments on commit 7936ef9

Please sign in to comment.