Skip to content

zaw4rud0/holobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HoloBot (Java Discord Bot)

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.

Features

Coming soon!

Running locally

Prerequisites

  • Java JDK 17
  • Maven
  • Discord developer account and a Discord bot token

Installation

  1. Clone this repository:
git clone https://github.com/zaw4rud0/holobot.git
  1. Navigate to the project directory:
cd holobot
  1. Build the project:
mvn clean install
  1. Run Setup inside src\main\java\dev.zawarudo.holo\scripts in your favorite IDE to create the necessary files and configure the project.
  2. In the newly created config.json file, set the value of token with your bot token.
  3. 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.

Usage

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.

Contributing

Support and contributions are always welcome. Pull requests are the best way to propose changes to the codebase.

  1. Fork the repository and create your branch from main.
  2. Add code or changes.
  3. Ensure the test suite passes.
  4. Make sure the code is clean and functional.
  5. 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.

License

This project is licensed under the MIT License.

About

A Discord bot written in Java

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages