{"repo":"discord-jar/discord.jar","free":true,"listed":false,"github":"https://github.com/discord-jar/discord.jar","clone":"git clone https://github.com/discord-jar/discord.jar.git","description":"Work in progress library for the Discord API built in Java.","language":"Java","stars":18,"topics":["discord","discord-api","discord-api-wrapper","discord-api-v10","discord-bot","discord-bots","discord-api-bot","api","discord-gateway","websocket"],"license":"GPL-3.0","category":"api-integrations-sdks","readme_excerpt":"discord.jar - a Java library for the Discord API discord.jar is a work in progress Java wrapper for the Discord API. Everything that needs doing can be found in the Issues tab, so if you're interested in helping out it would be greatly appreciated! Developed & maintained by @seailz 🧵Multi-Threaded 🌐Supports interaction only/http-only bots! 🔗Supports linked roles 🏃Efficient! Our official Discord server: https://discord.gg/tmvS8A57J4 Getting Started Before we start - please note that discord.jar is still a work in progress and there are some risks of deploying it in a production enviroment. Example Usages - Tune An example Discord Music bot built using discord.jar & LavaPlayer in just 1 hour, that's how simple it is! Tools built for Discord.jar Discript - a scripting language to simplify bot development. Prerequisites You'll need to add discord.jar to your project's dependencies. We are currently using JitPack to host our builds. See tutorials for your dependency management system here. Above will change soon When discord.jar officially releases, we'll be using our own repository. (Thanks @joeecodes). I'm also looking into getting djar on maven central. A Discord bot token is required to use the API. You can get one by creating a bot account here. Creating a Bot To initialize a bot that uses the gateway (is able to receive events), you can use the following code: You can specify intents to use with the gateway by using the following code: Doing so will override the default ","default_branch":null,"files":null,"tree":[],"storefront":"/r/discord-jar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/discord-jar/discord.jar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}