Skip to content
giftedlPublic
forked from discord-jda/JDA

About

JDA but your bots use mobile

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

maven-central jitpack license-shield

discord-shield faq-shield docs-shield troubleshooting-shield

JDA (Java Discord API)

This is a fork of the Java Discord wrapper, JDA, which includes a couple extra goodies:

  1. The new Discord Label and Select components are able to be used in Modal's (see discord-jda#2162)
  2. 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.

Maven

<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>

Kotlin Gradle

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")
}

Groovy Gradle

dependencyResolutionManagement {
  repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  repositories {
    mavenCentral()
	maven { url 'https://www.jitpack.io' }
   }
}

dependencies {
  implementation 'com.github.giftedl:JDA:-11d8917c26-1'
}

About

JDA but your bots use mobile

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages