forked from JDA-Applications/JDA-Utilities
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Migrating from JDA Utilities
Olivia edited this page Nov 19, 2021
·
3 revisions
Migrating from JDA-Utilities is super easy, barely an inconvenience.
First, you'll need to add my repository:
Maven:
<!-- Chew's Maven Repo for JDA-Chewtils -->
<repository>
<id>chew</id>
<name>m2-chew</name>
<url>https://m2.chew.pro/releases</url>
</repository>
Gradle:
repositories {
mavenCentral() // for transitive dependencies
// for JDA
maven {
name 'm2-dv8tion'
url 'https://m2.dv8tion.net/releases'
}
// For JDA-Chewtils
maven { url "https://m2.chew.pro/releases" }
}
If you're already using JDA-Utilities, you just need to change the Group and Artifact IDs. Otherwise, add them as shown.
<dependency>
<groupId>pw.chew</groupId>
<artifactId>jda-chewtils</artifactId>
<version>version</version>
<scope>compile</scope>
<type>pom</type>
</dependency>
The "version" is minus the "v".
As of now, no methods have been removed or modified in any breaking way, simply more features have been added. See Features for a list of changes.
- SlashCommands in JDA-Chewtils
- Context Menus in JDA-Chewtils (Chewtils 2.0+)
- User-Installed Apps (Chewtils 2.1-SNAPSHOT)