4
0
Fork
You've already forked gardener-bot
0
hopefully a relatively easyish to maintain alternative discord-bot with less spaghetti than our existing ones
  • Go 98.7%
  • Dockerfile 0.9%
  • Shell 0.4%
2023年01月21日 04:07:19 +01:00
bot feat: add exported Logger interface 2022年09月14日 15:34:12 +02:00
cmd/gardener feat: readd + complete report module 2023年01月21日 03:43:22 +01:00
config make config.Unmarshal search a single directory for files 2022年01月28日 20:26:37 +01:00
internal feat: add exported Logger interface 2022年09月14日 15:34:12 +02:00
modules chore(modules/levels): clean up database schema 2023年01月21日 04:07:19 +01:00
.gitignore update gitignore 2022年01月28日 16:56:51 +01:00
build.sh chore: update module path 2022年02月05日 15:50:47 +01:00
docker-compose.yml make config.Unmarshal search a single directory for files 2022年01月28日 20:26:37 +01:00
Dockerfile chore: update module path 2022年02月05日 15:50:47 +01:00
go.mod chore: update dependencies 2023年01月21日 04:07:13 +01:00
go.sum chore: update dependencies 2023年01月21日 04:07:13 +01:00
LICENSE Initial commit 2022年01月27日 02:22:41 +01:00
README.md feat: add configuration tables + methods for interacting with them 2022年02月04日 01:44:41 +01:00

gardenerbot

hopefully a relatively easyish to maintain alternative discord-bot with less spaghetti than our existing ones

requirements

  • Go 1.17
  • PostgreSQL 12 or later (latest version recommended, may work with versions <12 but not tested)

running

this bot doesn't do much so far
to run it in its current state, create a file named gardener.yaml in the config/ directory, and add the following:

auth:token:discordTokenHeredatabase:postgresql://postgres:postgres@localhost/postgres

replacing token with your bot's discord token and database with your database url

if you're using PostgreSQL 12 or earlier, and don't have the bot connect as a superuser, you will have to run CREATE EXTENSION hstore; as superuser on the database you created before running the bot for the first time
(because hstore is not a trusted module before PostgreSQL 13)