interface Permissions
abstract val discordPermission: Permission?
Only people with that Permission can execute the command. |
|
abstract val node: String
Some permission node. |
|
abstract val ownerExclusive: Boolean
Only the bot owner can execute the command. |
|
abstract val public: Boolean
Everyone can execute the command. |
|
abstract val serverOwnerExclusive: Boolean
Only someone with Permission.MANAGE_SERVER or Permission.ADMINISTRATOR can execute that command. |
fun botOwner(): Permissions
Only the bot owner can execute the command. |
|
fun discord(permission: Permission): Permissions
Only people with that permission can execute the command. |
|
fun public(): Permissions
Everyone can execute the command. |
|
fun serverOwner(): Permissions
Only someone with Permission.MANAGE_SERVER or Permission.ADMINISTRATOR can execute that command. |
open class PermissionsImpl : Permissions |