VisaDiscordBot is a Discord Bot written in Go for the Visa Discord Channel.
These instructions will help you get a copy of the project up and running on your local machine.
Additional instructions are also provided for Docker.
git clone https://github.com/Aerzz23/visadiscordbot.git
cd visadiscordbot
export VISA_BOT_CONFIG="YOUR_CONFIG_PATH_HERE" # absolute path
export VISA_BOT_TOKEN="YOUR_DISCORD_BOT_TOKEN_HERE" # https://discord.com/developers/applications
go get -u ./...
go get github.com/br0xen/boltbrowser
go run api/main.go
git clone https://github.com/Aerzz23/visadiscordbot.git
cd visadiscordbot
docker build -t aerzz23/visadiscordbot:latest .
docker run --env VISA_BOT_TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE aerzz23/visadiscordbot # https://discord.com/developers/
Unit Tests are written using the Ginkgo framework.
cd visadiscordbot
go test ./...
cd visadiscordbot
ginkgo ./...
boltbrowser *db-file*
- Go 1.15 - Programming Language
- DiscordGo - Go bindings for Discord
- ASCII Table Writer - Go library for ASCII formatted tables
- BoltDB - Database
- Ginkgo - BDD Testing Framework
- Docker - Containerization
- Aaron Burge - Creator - Aerzz23