Skip to content

JCommands v5.0.0

Compare
Choose a tag to compare
@S3nS3IW00 S3nS3IW00 released this 09 Mar 20:58
· 8 commits to master since this release
ea0e184

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

Usage

  1. Download
    • Jar file below
    • Clone repository
    git clone https://github.com/S3nS3IW00/JCommands.git  
    
  2. Initiate the listener
    CommandHandler.setApi(DiscordApi);  
  3. Give a star if you like it and enjoy!