Skip to content

DiscordConnection

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

A linked account on a member’s profile, as GET /users/@me/connections returns it.

id: string

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

The id on the other service; for GitHub, the numeric user id.


name: string

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

The name on the other service; for GitHub, the login.


type: string

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

The service, lower case: github, twitch, …


verified: boolean

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

Whether Discord confirmed the member owns the account.


optional visibility?: number

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

Discord’s visibility code: 0 only the member, 1 everyone.