Builder

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

Constructors

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

Functions

Link copied to clipboard
fun build(): Intents

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

Link copied to clipboard
operator fun Intent.unaryMinus()

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

operator fun Intents.unaryMinus()

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

Link copied to clipboard
operator fun Intent.unaryPlus()

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

operator fun Intents.unaryPlus()

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