Skip to main content

DiscordConnection

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordConnection

Interface: DiscordConnection

https://discord.com/developers/docs/resources/user#connection-object-connection-structure

Properties

friend_sync

friend_sync: boolean

whether friend sync is enabled for this connection

Defined in

packages/types/dist/types/discord.d.ts:453


id

id: string

id of the connection account

Defined in

packages/types/dist/types/discord.d.ts:441


integrations?

optional integrations: Partial<DiscordIntegration>[]

an array of partial server integrations

Defined in

packages/types/dist/types/discord.d.ts:449


name

name: string

the username of the connection account

Defined in

packages/types/dist/types/discord.d.ts:443


revoked?

optional revoked: boolean

whether the connection is revoked

Defined in

packages/types/dist/types/discord.d.ts:447


show_activity

show_activity: boolean

whether activities related to this connection will be shown in presence updates

Defined in

packages/types/dist/types/discord.d.ts:455


two_way_link: boolean

whether this connection has a corresponding third party OAuth2 token

Defined in

packages/types/dist/types/discord.d.ts:457


type

type: DiscordConnectionServiceType

the service of this connection

Defined in

packages/types/dist/types/discord.d.ts:445


verified

verified: boolean

whether the connection is verified

Defined in

packages/types/dist/types/discord.d.ts:451


visibility

visibility: DiscordConnectionVisibility

visibility of this connection

Defined in

packages/types/dist/types/discord.d.ts:459