Skip to content

Aerzz23/visadiscordbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VisaDiscordBot

VisaDiscordBot is a Discord Bot written in Go for the Visa Discord Channel.

Getting Started

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.

Prerequisites

Running

Go Local

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

Docker

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/

Testing

Unit Tests are written using the Ginkgo framework.

cd visadiscordbot
go test ./...

Or

cd visadiscordbot
ginkgo ./...

To read the boltdb file

boltbrowser *db-file*

Built With

Authors

About

A Discord bot for Visa Inc. games social Discord channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published