setRequiredGroupPriority

abstract suspend fun setRequiredGroupPriority(newPriority: Int): Command

Sets the minimum group priority required to execute this command.

Return

the Command instance

Parameters

newPriority

the new required group priority (0..20)

Throws

if newPriority is out of acceptable range