/Klassenserver7bBot

A DiscordBot

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Klassenserver7bBot

CodeFactor License Build Status Latest Release

This is my Discord Bot written in Java with the Java-Discord-API (JDA).

Features

  • List coming soon

Install

  1. Download k7bot-$VERSION-full.jar and put it in your BOT_DIRECTORY
  2. Download Java JRE 21 (tested on Azul 21).
  3. Run the Bot using java -jar ./k7bot-$VERSION-full.jar in your BOT_DIRECTORY
  4. Create new Discord Application for the Bot
  5. Insert your Tokens in the Autogenerated BOT_DIRECTORY/resources/bot.properties
  6. Add the Bot to your Server and have fun

Self compile and building

Prerequires

Compile and package

  1. Clone the project git clone https://github.com/klassenserver7b/klassenserver7bbot.git && cd klassenserver7bbot
  2. run 'mvn package'
  3. you can now find your jar at ./target/k7bot-$VERSION-full.jar
  4. run it with java -jar YOUR_JAR_FILE_NAME

Support

You can contact me via

For those who want to develop themselves

Creating a "normal" Discord Chat-Command:

  1. Create a new command by creating a new class and adding implements ServerCommand or implements HypixelCommand (whether it is a Music/Tool/Moderation command or depends it on "Hypixel" and their API)
  2. Insert new commands in the CommandManager or the HypixelCommandManager

Creating a SlashCommand

  1. Create a new command by creating a new class and adding implements TopLevelSlashCommand
  2. Insert new commands in the SlashCommandManager
  3. Add your required options in the SlashCommandManager and your option-previews in ChartsAutoComplete

A DiscordBot by @Klassenserver7b