DiscordConnection
Documentation / @discordeno/bot / DiscordConnection
Interface: DiscordConnection
Defined in: packages/types/dist/types/discord.d.ts:439
https://discord.com/developers/docs/resources/user#connection-object-connection-structure
Properties
friend_sync
friend_sync:
boolean
Defined in: packages/types/dist/types/discord.d.ts:453
whether friend sync is enabled for this connection
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:441
id of the connection account
integrations?
optional
integrations:Partial
<DiscordIntegration
>[]
Defined in: packages/types/dist/types/discord.d.ts:449
an array of partial server integrations
name
name:
string
Defined in: packages/types/dist/types/discord.d.ts:443
the username of the connection account
revoked?
optional
revoked:boolean
Defined in: packages/types/dist/types/discord.d.ts:447
whether the connection is revoked
show_activity
show_activity:
boolean
Defined in: packages/types/dist/types/discord.d.ts:455
whether activities related to this connection will be shown in presence updates
two_way_link
two_way_link:
boolean
Defined in: packages/types/dist/types/discord.d.ts:457
whether this connection has a corresponding third party OAuth2 token
type
Defined in: packages/types/dist/types/discord.d.ts:445
the service of this connection
verified
verified:
boolean
Defined in: packages/types/dist/types/discord.d.ts:451
whether the connection is verified
visibility
visibility:
DiscordConnectionVisibility
Defined in: packages/types/dist/types/discord.d.ts:459
visibility of this connection