User
The User object is used to gain context into Discord users, including information such as username, ID, and avatar hash.
Same as discord user object.
{
"username": "johnyburd",
"locale": "en-US",
"mfa_enabled": true,
"flags": 0,
"avatar": "9ce5a006548f1ae3e5c8fb91a4d677e4",
"discriminator": "1022",
"id": "214037134477230080"
}
v1 RESTful API
GET/identify
Requires authenticationReturn the user currently logged in.
v1 RESTful API
GET/user/{user.id}
Return a user object.