Carbon
Plugins/Linked Roles/Type Aliases

LinkedRoleCriteria

LinkedRoleCriteria = object

The metadata that you want to check for, and that should show to the end-user on Discord.

Remarks

You can only have 5 metadata per application, and they apply across all guilds your app is in.

Properties

description

description: string

A description of the metadata.


key

key: string

The key of the metadata. This is only used on the code side, and is not seen by the end user.


name

name: string

The name of the metadata. This is what the end user will see.


type

type: ApplicationRoleConnectionMetadataType

The type of metadata that you want to check for.

On this page