DiscordPresence
public struct DiscordPresence
Represents a presence.
-
The snowflake of the guild this presence belongs on.
Declaration
Swift
public let guildId: GuildID -
The user associated with this presence.
Declaration
Swift
public let user: DiscordUser -
The game this user is playing, if they are playing a game.
Declaration
Swift
public var game: DiscordActivity? -
This user’s nick on this guild.
Declaration
Swift
public var nick: String? -
The roles?
Declaration
Swift
public var roles: [String] -
The status of this user.
Declaration
Swift
public var status: DiscordPresenceStatus
DiscordPresence Structure Reference