Registry / networking / jda
library6.4.1javamavenunverified

A Java wrapper for the Discord chat and VOIP service, providing a comprehensive API for bot development.

<dependency> <groupId>net.dv8tion</groupId> <artifactId>JDA</artifactId> <version>6.4.1</version> </dependency>
INSTALL
IMPORT
SIG · JDA
J
jda
networkingjavav6.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JDA
net.dv8tion.jda.api.JDA

Builds and starts a Discord bot with a token.

import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDABuilder; public class Example { public static void main(String[] args) throws Exception { JDA jda = JDABuilder.createDefault("YOUR_TOKEN").build(); jda.awaitReady(); System.out.println("Bot is ready!"); } }
Debug
Known issues
breakingJDA 5.x uses a new event system that is incompatible with 4.x.
fix
Migrate event listeners to the new ListenerAdapter or EventListener interface.
affects: >=5.0.0
Upgrade
Version history
6.4.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jda — mvn dependency:get jda · libregistry