civ-bot-go

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: MIT

README

civ-bot-go

GitHub Workflow Status

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 bot perms
  • 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 running go 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

Directories

Path Synopsis
cmd
internal
civ

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL