core.discord.set_state

Client

Sets the state text of the Discord rich presence activity


Syntax

local status = core.discord.set_state(
    state
)

Parameters

TypeNameDescription
stringstateActivity state text to display

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set the state text on a rich presence activity
core.discord.set_state("In a match")

On this page