Command Requirement
Representation of a requirement for a command
Parameters
message
The message to send to the user if the requirement is not met
check
The function to check if the requirement is met
Constructors
Link copied to clipboard
fun <T> CommandRequirement(message: String, check: (T) -> Boolean = { true })
Content copied to clipboard