Skip to content

Bot for ChillSynth Discord Server

Notifications You must be signed in to change notification settings

chillsynth/chillbot

Repository files navigation

ChillBot

ChillSynth Badge

The in-house Discord bot made for the ChillSynth Discord server

Release Versions:

badge badge

badge

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <

badge badge

badge
badge
badge

> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <

badge badge

badge
badge
badge

Running locally

Copy .env.example to .env
Put your bot token in the DISCORD_CLIENT_SECRET variable
The config.json config is active while running locally

Install Task with this command:
go install github.com/go-task/task/v3/cmd/task@latest

Install required project dependencies:
task init

Start the development server with
task dev
Now you have auto reloading when changing code files!

Running in the dev environment

Put your bot token in Github the actions secret DISCORD_DEV_CLIENT_SECRET
Simply push your code to the develop branch and it will auto deploy in about a minute
The config.dev.json config is active while running in the dev environment

Running in the production environment (not setup yet)

Put your bot token in Github the actions secret DISCORD_PROD_CLIENT_SECRET
Simply push your code to the main branch and it will auto deploy in about a minute
Add your new version with changes to CHANGELOG.md
Make a pull request from develop into main
Complete that PR and the new version will get auto tagged and released on github and deployed to the prod environment
The config.prod.json config is active while running in the prod environment