-
Notifications
You must be signed in to change notification settings - Fork 0
Home
NOTE: A lot of the wiki is currently outdated and is still in the process of being rewritten / expanded
HalpBot is a robust command framework for JDA that has been designed to reduce boilerplate code and argument parsing so that creating commands becomes as simple as creating a new method. This leaves you with more time to be doing what's actually important.
When starting out with JDA, a few things quickly became apparent to me:
-
Just using JDA, if I wanted to determine which command was being called, I would need to chain if-else statements which would quickly become unmanageable if the bot was to scale.
-
There are a number of command frameworks out there, however, all of them utilise a
Command
class which you extend to create a command. This, however, means that you're limited to one command per class, which becomes very bulky as your bot grows (Especially if the command doesn't need an entire class for itself!) -
None of the command frameworks provided much support for parameter parsing. This means that even using an existing command framework, it was still your responsibility to manually parse and validate all the parameters for your command.
Halpbot aims to help alleviate these issues by leveraging annotations and reflection to automate as much of this as possible, while simultaneously making it as customisable as possible.
- Built-in Commands
- @Command Parameters
- Arguments
- Annotations
- Custom Objects
- Custom TypeParsers
- Slash Commands - W.I.P.
- Pagination - W.I.P