Skip to content

Commit

Permalink
Add user object to READY rpc event (discord#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
msciotti authored Mar 28, 2018
1 parent 5b226ce commit 0e260c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/topics/RPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,7 @@ Used to reject an Ask to Join request.
|-------|------|-------------|
| v | integer | RPC version |
| config | [rpc server configuration](#DOCS_TOPICS_RPC/ready-rpc-server-configuration-object) object | server configuration |
| user | partial [user](#DOCS_RESOURCES_USER/user-object) object | the user to whom you are connected |

###### RPC Server Configuration Object

Expand All @@ -1177,6 +1178,12 @@ Used to reject an Ask to Join request.
"cdn_host": "cdn.discordapp.com",
"api_endpoint": "//discordapp.com/api",
"environment": "production"
},
"user": {
"id": "53908232506183680",
"username": "Mason",
"discriminator": "1337",
"avatar": null
}
},
"evt": "READY"
Expand Down

0 comments on commit 0e260c4

Please sign in to comment.