Fix usernameType typo in RPC docs

This commit is contained in:
Slendy 2023-08-13 21:17:03 -05:00
parent e072201ec7
commit 76c5abf643
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -1,4 +1,5 @@
# RPC (Rich Presence)

# RPC (Rich Presence)
Lighthouse supports Discord's [Rich Presence](https://discordapp.com/rich-presence) feature, which allows you
to display your current activity in Lighthouse to your Discord friends.
@ -22,8 +23,7 @@ Returns a JSON object containing the following information:
- `partyIdPrefix`: The prefix to use for the party ID. This is used to prevent collisions between
multiple instances of Lighthouse running on the same Discord application.
- `usernameType`: Some compatible APIs require usernames instead of user IDs. A return value of `0`
indicates that usernames should be used, while a return value of `1` indicates that user
IDs should be used.
indicates that user IDs should be used, while a return value of `1` indicates that usernames should be used.
- `assets`: A JSON object containing the following information:
- `podAsset`: Asset used when in the Pod.
- `moonAsset`: Asset used when creating on the Moon.