šļø Getting Started
EnhancedJDA is an advanced library that enhances the Java Discord API for creating powerful Discord bots. It simplifies development with built-in tools for command parsing, event handling, database & config management and advanced features like slash commands and message components.
šļø Intents & Caching
EnhancedJDA allows to set intents and caching really easily. If you donāt know what it is, read about it in JDA documentation. You can set these variables using annotations in the main class.
šļø Configuration files
EnhancedJDA adds built-in support for .yml and .env files.
šļø Database
EnhancedJDA manages database using ORMLite. Itās really easy to use, useful, and lightweight ORM. Our library supports MySQL and SQLite.
šļø Listeners
EnhancedJDA implements an option to quickly register all listeners from certain packages. You should create a package (or multiple packages) with all listeners. Listener should extend EnhancedListener class. To register listeners, use the ā£PackageMapping annotation in the main class.
šļø Slash Commands
EnhancedJDA adds a really modern and easy-to-use system for creating slash commands. To create slash commands, you should create a package (or multiple packages) with all commands. They should extend EnhancedCommandclass. To register it, use the ā£PackageMapping annotation in the main class. When ENV is set to DEV then commands will be registered as guild commands; when ENV is set to PRODUCTION then they will be registered as global commands.
šļø Contexts
EnhancedJDA implements an option to quickly register & implement all contexts from certain packages. You should create a package (or multiple packages) with all contexts. They should extend EnhancedContext class (where T is a User or Message). You also need to add @Context annotation to class. To register them, use the ā£PackageMapping annotation in the main class.
šļø Deployment
You can deploy your bot in various ways. EnhancedJDA made small utilities for bot deployment.