https://github.com/gamemann/simple-discord-bot
A simple Discord bot imported from GFL's Gitlab. This was made using Java.
https://github.com/gamemann/simple-discord-bot
bot discord jar java simple
Last synced: 7 months ago
JSON representation
A simple Discord bot imported from GFL's Gitlab. This was made using Java.
- Host: GitHub
- URL: https://github.com/gamemann/simple-discord-bot
- Owner: gamemann
- Created: 2020-05-10T17:45:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-10T17:53:03.000Z (over 5 years ago)
- Last Synced: 2025-02-28T12:25:30.496Z (7 months ago)
- Topics: bot, discord, jar, java, simple
- Language: Java
- Homepage: https://moddingcommunity.com/
- Size: 4.88 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Bot V2
## Description
This is a simple Discord bot I made for fun in Java. It is currently used on KG's Discord server. It offers an easy way to create commands along with options like a cool down and the ability to execute a custom function. Everything is handled in an XML config file. You may specify the path to the config file via command-line (argument #1).## JAR File
There is currently no JAR file included. I've built one on my own, but since the Discord API token is hard-coded into the project, I cannot provide a JAR file. Feel free to use my project and compile your own JAR file.## To Do
* Have the Discord API token be handled in the config file.
* Once the above task is done, include a JAR file.
* Optimizations + better support.
* Add custom functions.## Run In Java Via JAR
Here is the command line I use for my Linux server:```
/usr/bin/java -jar /home/roy/my-discord-bot.jar "/etc/discordbot/config.xml"
```The config file is located at `/etc/discordbot/config.xml` in this case.
## Credits
* [Christian Deacon](https://www.linkedin.com/in/christian-deacon-902042186/) - Creator.