HoloBot is a Discord bot written in Java and backed by JDA (Java Discord API). This bot started as a personal project to learn Java and programming in general and is now an active bot that provides its services and features to several Discord servers.
Coming soon!
- Java JDK 17
- Maven
- Discord developer account and a Discord bot token
- Clone this repository:
git clone https://github.com/zaw4rud0/holobot.git
- Navigate to the project directory:
cd holobot
- Build the project:
mvn clean install
- Run
Setup
insidesrc\main\java\dev.zawarudo.holo\scripts
in your favorite IDE to create the necessary files and configure the project. - In the newly created
config.json
file, set the value oftoken
with your bot token. - Now you can either run
Bootstrap
in your IDE or execute
java -jar holobot-VERSION.jar
where VERSION
is the current version of the bot which is defined inside pom.xml
.
You can add a Discord bot to your server using the following invitation link where you replace YOUR_BOT
with the ID of your bot:
https://discord.com/oauth2/authorize?client_id=YOUR_BOT&scope=bot
The default prefix of this bot is <
, and you can see all the commands using <help
.
Support and contributions are always welcome. Pull requests are the best way to propose changes to the codebase.
- Fork the repository and create your branch from
main
. - Add code or changes.
- Ensure the test suite passes.
- Make sure the code is clean and functional.
- Open a PR in this repository with your branch.
If you encounter a bug or want to suggest new features, feel free to open a new issue. Please make sure to provide a detailed description, so we don't have to scratch our head.
This project is licensed under the MIT License.