PermissionEntity

Functions

Link copied to clipboard
abstract fun hasPermission(vararg permission: GuildPermission): Boolean
abstract fun hasPermission(permission: Collection<GuildPermission>): Boolean

Checks if the member has a specific permission.

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard

The permissions of this member.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.