DiscordConnection
Documentation / @discordeno/bot / DiscordConnection
Interface: DiscordConnection
Defined in: packages/types/dist/types/discord/user.d.ts:73
https://discord.com/developers/docs/resources/user#connection-object-connection-structure
Properties
friend_sync
friend_sync:
boolean
Defined in: packages/types/dist/types/discord/user.d.ts:87
whether friend sync is enabled for this connection
id
id:
string
Defined in: packages/types/dist/types/discord/user.d.ts:75
id of the connection account
integrations?
optional
integrations:Partial
<DiscordIntegration
>[]
Defined in: packages/types/dist/types/discord/user.d.ts:83
an array of partial server integrations
name
name:
string
Defined in: packages/types/dist/types/discord/user.d.ts:77
the username of the connection account
revoked?
optional
revoked:boolean
Defined in: packages/types/dist/types/discord/user.d.ts:81
whether the connection is revoked
show_activity
show_activity:
boolean
Defined in: packages/types/dist/types/discord/user.d.ts:89
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/user.d.ts:91
whether this connection has a corresponding third party OAuth2 token
type
Defined in: packages/types/dist/types/discord/user.d.ts:79
the service of this connection
verified
verified:
boolean
Defined in: packages/types/dist/types/discord/user.d.ts:85
whether the connection is verified
visibility
visibility:
DiscordConnectionVisibility
Defined in: packages/types/dist/types/discord/user.d.ts:93
visibility of this connection