- Documentation
- Client functions
- setDiscordRichPresenceSmallAsset
Function
setDiscordRichPresenceSmallAsset
Sets the small round image in the corner of the large Discord status image, e.g. a faction or rank icon, with a hover caption. The image must be in the Art Assets of the application set with setDiscordApplicationID. An empty key removes it.
Syntax
bool setDiscordRichPresenceSmallAsset(string asset [, string text = ""])Arguments
assetstring- Image key from Art Assets.
""= remove. textstring, optional = ""- Hover caption (up to 128 characters).
Returns
true when the status was passed to the launcher.
Example
setDiscordRichPresenceSmallAsset("policja", "Frakcja: LSPD")