cerus / jda-slash-commands

Slash commands (and message components) for JDA
GNU General Public License v3.0
15 stars 3 forks source link

OkHTTP3 #10

Closed NonSwag closed 3 years ago

NonSwag commented 3 years ago

Please Update the OkHTTP3 dependency You are using the 4.9.1 but in the latest JDA implements 5.0.0 My Bot prefers the 5.0.0, and now I can't use your (brilliant) API

java.lang.NoSuchMethodError: okhttp3.RequestBody.create(Ljava/lang/String;Lokhttp3/MediaType;)Lokhttp3/RequestBody; at de.cerus.jdasc.http.DiscordHttpClient.submitGlobalCommand(DiscordHttpClient.java:127)

cerus commented 3 years ago

The JDA version has been bumped.