Skip to main content

RoleToggle

Documentation


Documentation / @discordeno/bot / RoleToggle

Variable: RoleToggle

const RoleToggle: object

Defined in: transformers/toggles/role.ts:4

Type Declaration​

availableForPurchase​

availableForPurchase: number

Whether this role is available for purchase.

guildConnections​

guildConnections: number

Whether this role is available for guild connections.

hoist​

hoist: number

If this role is showed separately in the user listing

managed​

managed: number

Whether this role is managed by an integration

mentionable​

mentionable: number

Whether this role is mentionable

premiumSubscriber​

premiumSubscriber: number

Whether this is the guilds premium subscriber role