core.discord.set_state
Client
Sets the state text of the Discord rich presence activity
Syntax
local status = core.discord.set_state(
state
)Parameters
| Type | Name | Description |
|---|---|---|
string | state | Activity state text to display |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
core.discord.set_state("In a match")