class
DiscordActivity (client-side)
Available since version: 0.2.0
This class represents Discord activity manager.
Properties
string
details
Note
Maximum length of text is 128 characters!
Represents information about what player currently doing.
string
state
Note
Maximum length of text is 128 characters!
Represents information about current player state.
DiscordActivityTimestamps
timestamps
Holds activity timestamps.
DiscordActivityAssets
assets
Holds activity assets.
DiscordActivityParty
party
Holds activity party information.
Methods
update
This method will update current activity displayed information.
void update()