hasPermission

open fun hasPermission(sender: Sender, args: A): Boolean

Checks if the given sender has permission to execute this command with the given args.

Return

true if the sender can perform this command with the arguments, false otherwise

Parameters

sender

the sender attempting to execute the command

args

the arguments provided by the sender