Skip to main content

APIRoleTags

https://discord.com/developers/docs/topics/permissions#role-object-role-tags-structure

Tags with type null represent booleans. They will be present and set to null if they are “true”, and will be not present if they are “false”.

Index

Properties

optionalavailable_for_purchase

available_for_purchase?: null

Whether this role is available for purchase

optionalbot_id

bot_id?: string

The ID of the bot this role belongs to

optionalguild_connections

guild_connections?: null

Whether this role is a guild’s linked role

optionalintegration_id

integration_id?: string

The ID of the integration this role belongs to

optionalpremium_subscriber

premium_subscriber?: null

Whether this is the guild’s Booster role

optionalsubscription_listing_id

subscription_listing_id?: string

The ID of this role’s subscription sku and listing