Rollczi / LiteCommands

☄️ LiteCommands - Command framework for Velocity, Bukkit, Paper, BungeeCord, Minestom, Sponge, Fabric, JDA and future implementations.
https://docs.rollczi.dev/
Apache License 2.0
130 stars 18 forks source link

Can we use @OptionalArg and @Join in one argument? #405

Closed xiaoACE6716 closed 2 months ago

xiaoACE6716 commented 2 months ago

just like public void onExecute(@Context CommandSender sender, @Context Message message, @Arg String atRole, @OptionalArg("description") @OptionalArg @Join String description) I want this description to be an optional parameter, and it can also be spliced together.

vLuckyyy commented 2 months ago

@Join Optional<String> reason