Skip to content

Commit

Permalink
Add custom status to activity docs (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment authored and night committed Nov 8, 2019
1 parent 55bd68a commit d14e85b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/topics/Gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,7 @@ Active sessions are indicated with an "online", "idle", or "dnd" string per plat
| application_id? | snowflake | application id for the game |
| details? | ?string | what the player is currently doing |
| state? | ?string | the user's current party status |
| emoji? | ?[emoji](#DOCS_TOPIC_GATEWAY/activity-object-activity-emoji) object | the emoji used for a custom status |
| party? | [party](#DOCS_TOPICS_GATEWAY/activity-object-activity-party) object | information for the current party of the player |
| assets? | [assets](#DOCS_TOPICS_GATEWAY/activity-object-activity-assets) object | images for the presence and their hover texts |
| secrets? | [secrets](#DOCS_TOPICS_GATEWAY/activity-object-activity-secrets) object | secrets for Rich Presence joining and spectating |
Expand All @@ -816,6 +817,7 @@ Active sessions are indicated with an "online", "idle", or "dnd" string per plat
| 0 | Game | Playing {name} | "Playing Rocket League" |
| 1 | Streaming | Streaming {name} | "Streaming Rocket League" |
| 2 | Listening | Listening to {name} | "Listening to Spotify" |
| 4 | Custom | {emoji} {name} | ":smiley: I am cool" |

> info
> The streaming type currently only supports Twitch. Only `https://twitch.tv/` urls will work.
Expand All @@ -827,6 +829,14 @@ Active sessions are indicated with an "online", "idle", or "dnd" string per plat
| start? | int | unix time (in milliseconds) of when the activity started |
| end? | int | unix time (in milliseconds) of when the activity ends |

###### Activity Emoji

| Field | Type | Description |
| --------- | --------- | ------------------------------ |
| name | string | the name of the emoji |
| id? | snowflake | the id of the emoji |
| animated? | boolean | whether this emoji is animated |

###### Activity Party

| Field | Type | Description |
Expand Down

0 comments on commit d14e85b

Please sign in to comment.