DiSky DiSky v5.0.0-b1

Role Builder

type

A role that does not exist yet: configure it, then create it with 'the build result of'. Nothing is sent to Discord until then, so setting its properties costs no request.

5 / 5

Properties

3
propertyBooleanwrite-only since 5.0.0-a1
[the] hoisted of %roleaction%
%roleaction%'s hoisted

Whether the role being built is displayed separately in the member list.

change modes set
Helpful?
propertyBooleanwrite-only since 5.0.0-a1
[the] mentionable of %roleaction%
%roleaction%'s mentionable

Whether the role being built can be mentioned by anyone.

change modes set
Helpful?
propertyColor write-only since 5.0.0-a1
[the] color of %roleaction%
%roleaction%'s color

The color of a Discord entity: a role's color, an embed's side bar, or the color a role builder will be created with. Registered on Skript's native Property.COLOR (Skript 2.16), so "color of %x%" is the same expression that colors a block or a firework, dispatched per runtime type.

Write-only on a role builder and on an embed builder: JDA exposes no getter on either, so reading them gives <none>.

change modes set
Helpful?

Expressions

2
expressionRole Buildersince 5.0.0-a1
Feeling lost? This is covered in the guide Builders
[a] new role builder [(named|with [the] name)] %string% in [the] [guild] %guild%

Creates a role builder. The role is only created on Discord once you read 'the build result of' it, which requires 'await'.

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Role Builder.

Documentation

2

Hand-written guides that cover Role Builder.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.