Skip to main content

DiscordApplicationRoleConnection

@discordeno/bot


Documentation / @discordeno/bot / DiscordApplicationRoleConnection

Interface: DiscordApplicationRoleConnection

Defined in: packages/types/dist/types/discord.d.ts:498

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

Properties

metadata

metadata: Record<string, string>

Defined in: packages/types/dist/types/discord.d.ts:504

object mapping application role connection metadata keys to their stringified value (max 100 characters) for the user on the platform a bot has connected


platform_name

platform_name: null | string

Defined in: packages/types/dist/types/discord.d.ts:500

the vanity name of the platform a bot has connected (max 50 characters)


platform_username

platform_username: null | string

Defined in: packages/types/dist/types/discord.d.ts:502

the username on the platform a bot has connected (max 100 characters)