common / me.schlaubi.regnumutils.command.event / CommandPermissionViolationEvent / <init>

<init>

CommandPermissionViolationEvent(@Nonnull api: JDA, responseNumber: Long, @Nonnull guild: Guild, @Nonnull command: Command)

Constructs an CommandPermissionViolationEvent.

Parameters

api - JDA: the JDA instance

responseNumber - Long: the response number

guild - Guild: the Guild on which the command failed

command - Command: the Command which has thrown the permission error