Builder

class Builder(code: DiscordBitSet = EmptyBitSet())(source)

Constructors

Link copied to clipboard
constructor(code: DiscordBitSet = EmptyBitSet())

Functions

Link copied to clipboard

Returns an instance of Permissions that has all bits set that are currently set in this Builder.

Link copied to clipboard
operator fun Permission.unaryMinus()

Unsets all bits in the Builder that are set in this Permission.

operator fun Permissions.unaryMinus()

Unsets all bits in the Builder that are set in this Permissions.

Link copied to clipboard
operator fun Permission.unaryPlus()

Sets all bits in the Builder that are set in this Permission.

operator fun Permissions.unaryPlus()

Sets all bits in the Builder that are set in this Permissions.