- Rewrite for my LinuxBoi Python bot in Java
- Created this bot to learn the basics of the JDA library
- Not all commands will be re-wrote into Java code
- Adding new commands or features every couple of days or so when I have free time.
- Information
- Moderation / Admin
- Utility
- Fun
- Meme
- Image
- Owner
To start, make sure you have OpenJDK 8 or 11 installed on your computer. Then follow the instructions below.
- First, clone the repository and change directories into it.
git clone https://github.com/TrackRunny/LinuxBoi-JDA-Rewrite.git
<!-- Cloning the repo -->
cd LinuxBoi-JDA-Rewrite
<!-- Changing directories -->
- Next, use gradle to build a compiled jar file of the bot.
./gradlew shadowJar
<!-- Use this if you are on Mac OS X or Linux -->
gradlew.bat shadowJar
<!-- Use this if you are on Windows -->
- Congratulations, you now have a compiled jar file located in
build/libs
directory for you to access.
Please make sure you create a .env
file in the root directory where the jar file is being ran. It should have these values.
TOKEN="YOUR DISCORD BOT TOKEN"
IP_INFO_TOKEN="YOUR IP INFO TOKEN"
KSOFT_TOKEN="YOUR KSOFT TOKEN"
OWNER_ID=YOUR OWNER ID
PREFIX="j!"
Everything is now set up. To start the bot you can do java -jar JDA-LearningBot-1.42.10-all.jar
or you may want to create a shell or bat script to do this for you.
This project is licensed under the GPLv3.
- Discord Account:
TrackRunny#2503