Skip to content

Setup

Prerequisites

Configuration

JDA-Commands is distributed through Maven Central. Alternatively you can download the latest version here.

pom.xml
<dependency>
   <groupId>io.github.kaktushose</groupId>
   <artifactId>jda-commands</artifactId>
   <version>4.0.0-beta.9</version>
</dependency>
build.gradle.kts
repositories {
   mavenCentral()
}
dependencies {
   implementation("io.github.kaktushose:jda-commands:4.0.0-beta.9")
}
build.gradle
repositories {
   mavenCentral()
}
dependencies {
   implementation 'io.github.kaktushose:jda-commands:4.0.0-beta.9"'
}

Snapshots

Additionally to normal releases, snapshots of each commit to the main branch are published to maven central.

pom.xml
<repositories>
    <repository>
        <url>https://central.sonatype.com/repository/maven-snapshots/</url>
    </repository>
</repositories>
<dependency>
    <groupId>io.github.kaktushose</groupId>
    <artifactId>jda-commands</artifactId>
    <version>4.0.0-SNAPSHOT</version>
</dependency>
build.gradle.kts
repositories {
    maven("https://central.sonatype.com/repository/maven-snapshots/")
}
dependencies {
    implementation("io.github.kaktushose:jda-commands:4.0.0-SNAPSHOT")
}
build.gradle
repositories {
    maven { url = uri('https://central.sonatype.com/repository/maven-snapshots/') }
}
dependencies {
    implementation 'io.github.kaktushose:jda-commands:4.0.0-SNAPSHOT"'
}

IntelliJ Plugin

We also provide an IntelliJ Plugin that performs some Code Inspection. It validates method references, which are commonly used in jda-commands. You can find it here.

Plugin Example