All

Deprecated (with error)

'Permission.All' is not a proper 'Permission' instance. Replace with 'Permissions.ALL'.

Replace with

import dev.kord.common.entity.Permissions
import dev.kord.common.entity.ALL
Permissions.ALL

Properties

Link copied to clipboard

The raw code used by Discord.

Link copied to clipboard
val shift: Int

The position of the bit that is set in this Permission. This is always >= 0.

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: Permission): Permissions

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

operator fun plus(flags: Permissions): Permissions

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

Link copied to clipboard
override fun toString(): String