An ergonomic, simple, and easy-to-use command parsing and dispatching library for Discord bots.
View the docs on readthedocs!
Disparse is built and served from Jitpack.
The specific module you want is dependent on the Discord library you would like to use.
- JDA ->
$MODULE
=disparse-jda
- D4J ->
$MODULE
=disparse-d4j
- SmallD ->
$MODULE
=disparse-smalld
- Unsupported / Creating own integration ->
$MODULE
=disparse-core
Add your repository for Jitpack
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add Disparse as a dependency
<dependencies>
<dependency>
<groupId>com.github.BoscoJared.disparse</groupId>
<artifactId>disparse-core</artifactId>
<version>$LATEST</version>
</dependency>
<dependency>
<groupId>com.github.BoscoJared.disparse</groupId>
<artifactId>$MODULE</artifactId>
<version>$LATEST</version>
</dependency>
</dependencies>
Add your repository for Jitpack
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add Disparse as a dependency
dependencies {
implementation 'com.github.BoscoJared.disparse:$MODULE:$LATEST'
}
A non-exhaustive list of discord bots using disparse:
If you are building something open-source with Disparse, submit an issue or mention Bosco#8564
on Discord to be added to the list!