leanderandClaude Opus 5.5 665f8deb28 unlink before removing roles in delete, and remove them from the guild member
Removing roles first left the user linked but without roles when the
deletion failed. interaction.user is not a guild member when the command
is used in DMs, so the member is now looked up in the guild.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 02:47:08 +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-10-11 16:14:27 +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. See the respective folders' README files for instructions on how to run them individually.

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

  2. Run docker compose up

Database

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%