![]() ![]() The JDA Object is then created by calling the build() method. After setting the token and other options via setters, If you need a bot, use a bot account from the Application Dashboard.Ĭreating the JDA Object is done via the JDABuilder class. Note that JDA is not a good tool to build a custom discord client as it loads all servers/guilds on startup unlikeĪ client which does this via lazy loading instead. We have officially dropped support for client login as of version 4.2.0! Please see the Discord docs for more information about bot accounts.ĭiscord is currently prohibiting creation and usage of automated client accounts (AccountType.CLIENT). These featuresĪre undocumented API endpoints or protocols that are not available to bot-accounts. Summaryĭue to official statements made by the Discord developers we will no longer support unofficial features. This library is a helpful tool that provides the functionality to create a discord bot in java. ![]() JDA strives to provide a clean and full wrapping of the Discord REST api and its Websocket-Events for Java. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |