Skip to main content

RoleToggle

@discordeno/botDocs


Documentation / @discordeno/bot / RoleToggle

Variable: RoleToggle

const RoleToggle: object

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

Defined in

packages/bot/src/transformers/toggles/role.ts:4