Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
/ discord-bot Public archive

Java Discord bot base.

License

Notifications You must be signed in to change notification settings

lukasbecvar/discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDA DISCORD BOT BASE

Warning

End of support

This project will no longer be updated or maintained.

Components

  • Command System
  • YML config system
  • Event system
  • Log system (msg, system, error)
  • Mysql log system
  • Command cli controller
  • Etc...

Command manager

  • Simple add new commands
  • You can only set a specific channel as the terminal channel
  • Included help command
  • Execute logger
  • Etc...

Config system

  • Auto create config
  • All values in json file "config.yml"
  • token = Discord api token
  • ActivityType - Bot RPC type (Watching, Listening, Playing)
  • statusText - RPC status text
  • Status - Bot status (Online, DoNotDisturb, Invisible, idle)
  • BotName - Bot name
  • DevMode - true or false
  • CommandPrefix - Main command prefix for call commands
  • TerminalChannel - Terminal channel id or "all" (String value)
  • TerminalChannelName - Terminal channel name
  • DefaultRole - Default role add for userJoinEvent id or none (String value)
  • UserJoinEventEnabled - true or false
  • UserLeaveEventEnabled - true or false
  • logging - true or false
  • mysqlLogging - true or false
  • mysqlIP - Mysql/MariaDB server ip adress
  • mysqlDatabase - Mysql database name
  • mysqlUser - Mysql connection username
  • mysqlPassword - Mysql connection password

Dependencies

This project requires Java 17.

  • JDA
  • Slf4j-api
  • yamlbeans
  • Mysql-connector

License

The project is open-sourced software licensed under the MIT license