mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-11-27 17:54:16 +01:00
RPC SET_ACTIVITY payload documentation fixes
* `pid` is a mandatory field of your application's process id * `data` -> `args`
This commit is contained in:
parent
9b07431476
commit
0144c8200c
@ -20,10 +20,11 @@ The one major difference is the `party.size` field. It is an array with a size o
|
||||
|
||||
Below is a full example of a `SET_ACTIVITY` command. Field restrictions like size are the same as outlined in the main documentation.
|
||||
|
||||
```json
|
||||
```
|
||||
{
|
||||
"cmd": "SET_ACTIVITY",
|
||||
"data": {
|
||||
"args": {
|
||||
"pid": 9999, // Your application's process id - required field
|
||||
"activity": {
|
||||
"state": "In a Group",
|
||||
"details": "Competitive | In a Match",
|
||||
|
Loading…
Reference in New Issue
Block a user