-
Notifications
You must be signed in to change notification settings - Fork 0
Installing HalpBot
pumbas600 edited this page Aug 16, 2021
·
8 revisions
- HalpBot-Core 1.0.1
- Java 11+
- JDA version 4.3.0_285+
You can add HalpBot to your project by downloading HalpBot-Core-1.0.1.jar from here: https://github.com/pumbas600/HalpBot/releases/tag/1.0.1
In your project create a new folder called libs and place the downloaded .jar inside. Your project should look something like this:
In your build.gradle file, you'll then need to add the following:
repositories {
mavenCentral()
// Import the JDA Library
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
}
dependencies {
// Load all .jar files from /libs
implementation fileTree(dir: 'libs', include: '*.jar')
// Load the JDA Library
implementation 'net.dv8tion:JDA:4.3.0_285'
}
// This is used by the built in 'Halp' command to generate command usages.
tasks.withType(JavaCompile) {
options.compilerArgs << '-parameters'
}And just like that, you're all set to start using HalpBot.
- Built-in Commands
- @Command Parameters
- Arguments
- Annotations
- Custom Objects
- Custom TypeParsers
- Slash Commands - W.I.P.
- Pagination - W.I.P
