Skip to main content

Module user

Module user 

Source
Expand description

Structs§

ApplicationRoleConnection
The role connection an app stored for a user (linked roles).
AvatarDecorationData
An avatar decoration: the animated frame shown around a user’s avatar.
Collectibles
The collectibles a user has equipped.
Connection
A third-party account connected to the current user (GET /users/@me/connections, OAuth2 scope connections).
CurrentUser
The user account the client is logged in as, with the fields Discord only sends for it (D-052).
Nameplate
A nameplate: the background shown behind a user’s name in member lists.
PrimaryGuild
The primary guild of a user: the guild whose server tag is shown next to their name.
User
A Discord user — a person or a bot account.
UserFlags
Flags on a user, most of them shown as profile badges.

Enums§

ConnectionService
A connection service.
ConnectionVisibility
Who can see a Connection.
NameplatePalette
The background color of a Nameplate.
PremiumType
The Nitro subscription of a user.