DiscordUserActor
public protocol DiscordUserActor
Declares that a type will act as a Discord user.
-
The direct message channels this user is in.
Declaration
Swift
var directChannels: [UserID: DiscordTextChannel]
-
The guilds that this user is in.
Declaration
Swift
var guilds: [GuildID: DiscordGuild]
-
The relationships this user has. Only valid for non-bot users.
Declaration
Swift
var relationships: [[String: Any]]
-
The Discord JWT for the user.
Declaration
Swift
var token: DiscordToken
-
The DiscordUser.
Declaration
Swift
var user: DiscordUser?