requiresPermissionLevel

fun requiresPermissionLevel(level: Int): <Error class: unknown class>(source)

Specifies that the given permission level is required to execute this part of the command tree. A shortcut delegating to requires.


fun requiresPermissionLevel(level: PermissionLevel): <Error class: unknown class>(source)

Specifies that the PermissionLevel given as level is required to execute this part of the command tree. A shortcut delegating to requires.