# README
civ-bot-go
This a multipurpose Discord bot for various operations related to Civilization 5, written in Go.
Running Locally
Bot Setup
- make a discord application in the discord developer portal
- create a bot for you application and set permissions
- add the bot to your discord server
- go to the "OAuth2" tab, select scope "bot", navigate to the URL that gets generated
- copy the bot token from the "Bot" tab and set the
CIV_BOT_TOKEN
environment variable
Application Setup
- make sure you have
go
installed by runninggo version
, you should see some output like/usr/local/bin/go
- clone the repository
cd
into the root directory- install dependencies with
go get github.com/ecshreve/civ-bot-go
- run the application with
make run
- now you can go to whatever channel you added the bot to in the previous section and interact with the bot, enter
/civ help
in the channel to see information about how to use the bot
References
Here's some links that I used as reference throughout the project:
repositories:
helpful golang links
helpful tooling links
# Packages
No description provided by the author