/Java-Discord-Bot-Template

Java Discord Bot Template

Primary LanguageJava

Java Discord Bot Template

General Information

This repository is a template that everyone can use for the start of their discord bot.

If you want to use this template it would be nice if you left a star ⭐ for this repository.

Technologies Used

Setup

Clone the repository

git clone https://github.com/freddev-co/Java-Discord-Bot-Template

Build the project

mvn clean package

Run the project

java -jar Java-Discord-Bot-Template.jar

Environment Variables

File: src/main/resources/application.yml

server:
  port: 
discord:
  bot-name: 
  token:
  guild-id:
  owner-id:
Field Name Usage
port Default: 8080
----------- --------
bot-name Discord Bot Name
token Discord Bot Token
guild-id Your Discord Server To Test Bot
owner-id Your Discord Account ID