Skip to main content

DiscordApplicationRoleConnection

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordApplicationRoleConnection

Interface: DiscordApplicationRoleConnection

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

Properties

metadata

metadata: Record<string, string>

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

Defined in

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


platform_name

platform_name: null | string

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

Defined in

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


platform_username

platform_username: null | string

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

Defined in

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