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