Skip to content

DiscordOAuthUser

Defined in: oauth/oauth.type.ts:51

The member who signed in, as GET /users/@me returns it with their token.

optional global_name?: string | null

Defined in: oauth/oauth.type.ts:57

The display name, or null when the member has none.


id: string

Defined in: oauth/oauth.type.ts:53

The Discord user id.


username: string

Defined in: oauth/oauth.type.ts:55

The account’s username.