The rest
module provides a low-level HTTP client specifically for Discord which properly handles Discord's ratelimiting system.
Just replace @VERSION@
with the latest given by
repositories {
mavenCentral()
}
dependencies {
implementation 'com.discord4j:discord4j-rest:@VERSION@'
}
<dependencies>
<dependency>
<groupId>com.discord4j</groupId>
<artifactId>discord4j-rest</artifactId>
<version>@VERSION@</version>
</dependency>
</dependencies>
libraryDependencies ++= Seq(
"com.discord4j" % "discord4j-rest" % "@VERSION@"
)
Please follow our instructions at Using Jitpack