System

Deprecated (with error)

'UserFlag.System' is no longer documented. You can still use it with 'UserFlag.fromShift(12)'.

Replace with

import dev.kord.common.entity.UserFlag
UserFlag.fromShift(12)

Properties

Link copied to clipboard
val code: Int

The raw code used by Discord.

Link copied to clipboard
val shift: Int

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

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: UserFlag): UserFlags

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

operator fun plus(flags: UserFlags): UserFlags

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

Link copied to clipboard
override fun toString(): String