open class CommandPermissionViolationEvent : GenericCommandEvent
Event that is getting fired whenever someone tries to execute a command without having the needed permissions.
CommandPermissionViolationEvent(api: JDA, responseNumber: Long, guild: Guild, command: Command)
Constructs an |
open fun getPermissions(): Permissions
Returns the missing permissions. |