https://github.com/bclindner/valerius
Modular Discord bot based on discordgo.
https://github.com/bclindner/valerius
discord-bot golang json
Last synced: 9 months ago
JSON representation
Modular Discord bot based on discordgo.
- Host: GitHub
- URL: https://github.com/bclindner/valerius
- Owner: bclindner
- License: gpl-3.0
- Archived: true
- Created: 2018-11-11T03:23:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T23:40:19.000Z (over 7 years ago)
- Last Synced: 2024-12-16T23:11:53.491Z (over 1 year ago)
- Topics: discord-bot, golang, json
- Language: Go
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Valerius (stylized valerius) is a modular Discord bot for personal use.
## Usage
Valerius uses JSON to describe all of its commands from generic shells.
The program looks for `valerius.json` in the current working directory, but you can set the config file with `valerius -conf `.
In essence, a configuration will have a `botToken` property with (surprise) the Discord bot token to log in with, and a `commands` array which contains an array of command configuration objects, each with a `name` to call it by in logs. a `type` to base the command off of, and an `options` object to actually configure the command type with. Put the config file in the same directory as the executable and fire it up and you should have a working bot you can customize on-the-fly, without need for recompilation or source code editing.
You can also set a log file with the `-log` argument.