Files
hmgrisen/bot
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:50 +02:00
2024-04-04 02:12:50 +02:00
2024-04-20 13:43:24 +02:00

H.M. Grisen

A multi-purpose Discord bot for the Discord server of The Norwegian Student Society

Get started

  1. Create a bot user / obtain a bot token. Se her

  2. Make a copy of the .env.example file and rename it to .env

  3. Make sure all the fields are filled

Given a user with a access to a database the bot will create all the necessary tables by itself.

You have two options to run the bot:

docker-compose up

Option 2 - Manual

  1. Install Python 3.12+

  2. Install dependencies

pip install -r requirements.txt -U
  1. Run bot
python src/run.py