Leander Furumo 5392274bde add discord object fetcher util functions
due to there being two separate ways of fetching discord objects, one from cache and one as an API call we want to call the latter one if not found in cache. To avoid repeating the same process multiple times I have packed it into functions for the objects in interest
2024-04-20 13:48:49 +02:00
2024-04-04 02:12:21 +02:00
2024-04-04 02:12:21 +02:00
2024-04-04 02:12:21 +02:00
2024-04-04 02:12:21 +02:00
2024-04-04 02:12:21 +02:00
2024-04-04 02:12:21 +02:00

H.M. Grisen

A multi-purpose Discord bot. Its main purpose is to link Galtinn users to their Discord accounts.

Set up

This repo is meant as a monorepo for the Discord bot and the verification server. Thus we will only explain how to run them together as a unit here. For setting them up individually, see their respective README files.

  1. Create a .env file in the root of the project. Use the .env.example file as a template.

  2. Run docker-compose up

Responsibilities

The Docker Compose file does not specify the set up of a database. We assume you have a Postgres DB running with a user set up. The bot will create the necessary tables on its own.

S
Description
DNS sin multifunksjonelle Discordbot. Har som hovedoppgave å synkronisere roller på Discord med foreningsmedlemsskap i Galtinn
Readme GPL-3.0
707 KiB
0 Stars 9 Watchers 0 Forks
Languages
Python 97.3%
HTML 1.2%
Lua 0.6%
Dockerfile 0.5%
CSS 0.4%