Member
public struct Member
Member Type
-
Guild this member is tied to
Declaration
Swift
public internal(set) weak var guild: Guild?
-
Whether or not this member is deaf
Declaration
Swift
public let isDeaf: Bool?
-
Whether or not this user is muted
Declaration
Swift
public let isMuted: Bool?
-
Date when user joined guild
Declaration
Swift
public let joinedAt: Date?
-
Nickname of member
Declaration
Swift
public let nick: String?
-
Permission number for this user
Declaration
Swift
public internal(set) var permissions: Int = 0
-
The current status of this user’s presence
Declaration
Swift
public internal(set) var presence: Presence?
-
Array of role ids this member has
Declaration
Swift
public internal(set) var roles = [Role]()
-
User struct for this member
Declaration
Swift
public let user: User
-
Member’s current voice state
Declaration
Swift
public internal(set) var voiceState: VoiceState?
-
Checks if member has a certain permission
Declaration
Swift
public func hasPermission(_ permission: Permission) -> Bool