Giter Site home page Giter Site logo

trackrunny / linuxboi-jda-rewrite Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 406 KB

A java rewrite of some of my commands on my Python LinuxBoi Discord bot

License: GNU General Public License v3.0

Java 100.00%
discord-jda discord-bot discord linuxboi-jda-rewrite hacktoberfest

linuxboi-jda-rewrite's Introduction

→ LinuxBoi - JDA Rewrite

OpenJDK Versions JDA Version License: GPL v3

➤ Important Information

  • 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.

➤ Modules

  • Information
  • Moderation / Admin
  • Utility
  • Fun
  • Meme
  • Image
  • Owner

➤ Install and Setting up The Bot

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.

➤ Setting enviroment variables

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.

➤ License

This project is licensed under the GPLv3.

➤ Questions / Contact me

  • Discord Account: TrackRunny#2503

linuxboi-jda-rewrite's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.