Types

Link copied to clipboard

SKU is available for purchase.

Link copied to clipboard
object Companion
Link copied to clipboard

Recurring SKU that can be purchased by a user and applied to a single server. Grants access to every user in that server.

Link copied to clipboard

An unknown SkuFlag.

Link copied to clipboard

Recurring SKU purchased by a user for themselves. Grants access to the purchasing user in every server.

Properties

Link copied to clipboard
val shift: Int

The position of the bit that is set in this SkuFlag. This is always in 0..30.

Link copied to clipboard
val value: Int

The raw value used by Discord.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun plus(flag: SkuFlag): SkuFlags

Returns an instance of SkuFlags that has all bits set that are set in this and flag.

operator fun plus(flags: SkuFlags): SkuFlags

Returns an instance of SkuFlags that has all bits set that are set in this and flags.

Link copied to clipboard
override fun toString(): String