{"repo":"Java-Discord/JavaBot","free":true,"listed":false,"github":"https://github.com/Java-Discord/JavaBot","clone":"git clone https://github.com/Java-Discord/JavaBot.git","description":"General utility bot for the Discord Java Community","language":"Java","stars":53,"topics":["discord-bot","java","jda","bot","discord"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"JavaBot — General Utility Bot for the Discord Java Community Usage To start up, run the bot once, and it will generate a config directory. Stop the bot, and set the up all the following values : - in systems.json - jdaBotToken to your bot's token - (some adminUsers which, e.g., can manipulate the database) - in {guildId}.json - moderation.logChannelId to a channelId - moderation.staffRoleId to a roleId - moderation.adminRoleId to a roleId - jam.adminRoleId to a roleId NOTE: Don't forget to enable the Presence Intent, Server Members Intent and Message Content Intent on the Discord Developer Portal! Note that this is just what is required for the bot to start. Certain features may require other values to be set. Configuration The bot's configuration consists of a collection of simple JSON files: - systems.json contains global settings for the bot's core systems. - For every guild, a {guildId}.json file exists, which contains any guild-specific configuration settings. At startup, the bot will initially start by loading just the global settings, and then when the Discord ready event is received, the bot will add configuration for each guild it's in, loading it from the matching JSON file, or creating a new file if needed. Commands We're using DIH4JDA as our Command/Interaction framework, which makes it quite easy to add new commands. PingCommand.java For more information on how this works, visit the DIH4JDA Wiki! API Documentation GET guilds/{guild id}/metrics - Responds with gui","default_branch":null,"files":null,"tree":[],"storefront":"/r/Java-Discord","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Java-Discord/JavaBot/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."}