ApplicationRoleConnectionMetadata

A representation of role connection metadata for an Application.

When a Guild has added a bot and that bot has configured its roleConnectionsVerificationUrl (in the developer portal), the application will render as a potential verification method in the guild's role verification configuration.

If an application has configured role connection metadata, its metadata will appear in the role verification configuration when the application has been added as a verification method to the role.

When a user connects their account using the bot's roleConnectionsVerificationUrl, the bot will update a user's role connection with metadata using the OAuth2 role_connections.write scope.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

The description of the metadata field.

Link copied to clipboard

The translations of the description.

Link copied to clipboard
val key: String

The dictionary key for the metadata field.

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

The name of the metadata field.

Link copied to clipboard

The translations of the name.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String