JDA strives to provide a clean and full wrapping of the Discord REST api and its Websocket-Events for Java. This library is a helpful tool that provides the functionality to create a discord bot in java. Discord is currently prohibiting the creation and usage of automated client accounts (AccountType.CLIENT). We have officially dropped support for client login as of version 4.2.0! Note that JDA is not a good tool to build a custom discord client as it loads all servers/guilds on startup, unlike a client which does this via lazy loading instead. If you need a bot, use a bot account from the Application Dashboard. Creating the JDA Object is done via the JDABuilder class. After setting the token and other options via setters, the JDA Object is then created by calling the build() method. When build() returns, JDA might not have finished starting up. However, you can use await ready() on the JDA object to ensure that the entire cache is loaded before proceeding.

Features

  • Discord allows Bot-accounts to share load across sessions by limiting them to a fraction of the total connected Guilds/Servers of the bot
  • When an entity is updated through its manager, they will send a request to the Discord API which will update the state of the entity
  • Discord may request that a client (the JDA session) invalidates its entire cache
  • The snapshot builds are only available via JitPack and require adding the JitPack resolver
  • JDA is using SLF4J to log its messages
  • JDA currently provides a fallback Logger in case that no SLF4J implementation is present

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow JDA

JDA Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JDA!

Additional Project Details

Programming Language

Java

Related Categories

Java VoIP Software, Java Discord Bots, Java Discord Clients

Registered

2022-03-16