Files
hmgrisen/bot
leanderandClaude Opus 5.5 346b4558bd give the db listener a dedicated connection that is closed on cog unload
The listener previously held a pool connection that was never released and
kept its callback registered after a reload, so every reload leaked a pool
connection and added another handler for each notification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 02:42:05 +02:00
..
2024-04-04 02:12:50 +02:00
2024-10-11 16:15:53 +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. See this guide

  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