Carbon
PluginsLinked RolesType Aliases

LinkedRoleCriteria

LinkedRoleCriteria: object

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

Type declaration

NameTypeDescription
descriptionstringA description of the metadata.
keystringThe key of the metadata. This is only used on the code side, and is not seen by the end user.
namestringThe name of the metadata. This is what the end user will see.
typeApplicationRoleConnectionMetadataTypeThe type of metadata that you want to check for.

Remarks

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

On this page

Edit on GitHub