JCommands v5.0.0
Changelog
- SlashCommand, SlashCommandBuilder, and old permission system marked as deprecated
- Modal respond added to CommandResponder
- Implemented Discord's new permission system
- Added ServerCommand and GlobalCommand as default commands
- Command's initial permissions can be set
- GlobalCommand can be enabled in DMs
- New builders
- Ephemeral added to late response
- Added support for Attachment arguments (AttachmentArgument)
- Size and file extension can be limited
- Return optional arguments as an Optional in the action listener