-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, commands can have a name, a description, etc., but there's no way to retrieve arguments, add optional arguments, etc.
In a standard class (without using the library), we use:
protected final RequiredArg<Float> damageArg = this.withRequiredArg("amount", "MY DESCRIPTION!", ArgTypes.FLOAT);Then to get the value:
context.get(damageArg);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request