common / me.schlaubi.regnumutils.command.internal / PermissionsImpl

PermissionsImpl

open class PermissionsImpl : Permissions

Constructors

<init>

PermissionsImpl(public: Boolean, ownerExclusive: Boolean, serverOwnerExclusive: Boolean, node: String, discordPermission: Permission?)

Properties

discordPermission

open val discordPermission: Permission?

Only people with that Permission can execute the command.

node

open val node: String

Some permission node.

ownerExclusive

open val ownerExclusive: Boolean

Only the bot owner can execute the command.

public

open val public: Boolean

Everyone can execute the command.

serverOwnerExclusive

open val serverOwnerExclusive: Boolean

Only someone with Permission.MANAGE_SERVER or Permission.ADMINISTRATOR can execute that command.