This is a fork of the Java Discord wrapper, JDA, which includes a couple extra goodies:
- The new Discord Label and Select components are able to be used in Modal's (see discord-jda#2162)
- Bots can appear as on mobile. See below:
val jda = JDABuilder.createDefault(token)
.withMobileIdentify()This works by changing the identify packet (sent first in Gateway) to Discord iOS, making the bot appear on mobile.
Thats it! Apart from that, this fork is exactly the same.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://www.jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.giftedl</groupId>
<artifactId>JDA</artifactId>
<version>-11d8917c26-1</version>
</dependency>dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://www.jitpack.io") }
}
}
dependencies {
implementation("com.github.giftedl:JDA:-11d8917c26-1")
}dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}
dependencies {
implementation 'com.github.giftedl:JDA:-11d8917c26-1'
}

