UndiscoveredAction

@ApiStatus.Internal
class UndiscoveredAction(name: String) : RegistrableAction

See the documentation for Undiscovered.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override val aliases: List<String>

The aliases for this registrable.

Functions

Link copied to clipboard
open override fun execute(event: Event, trigger: RegistrableTrigger, arguments: List<String>, target: TargetType): Nothing?

When an event happens and a trigger is fired, this method is called. The arguments are the arguments that were passed to the trigger, and the target is the target of the action.