Refactor Discord member statistics handling and remove unused components

- Removed the `guild_member_stats` table and related logic from the database and models, as well as the associated webapp routes and templates.
- Cleaned up the Discord bot initialization by eliminating unused imports and functions related to member statistics.
- Updated logging configuration in `run-web.py` to streamline the startup process and improve thread management.
This commit is contained in:
2026-03-25 23:13:14 +01:00
parent b51430e2b2
commit ec296dd226
12 changed files with 10 additions and 662 deletions
-7
View File
@@ -63,12 +63,6 @@ PAGE_METADATA = {
"description": "Historique de modération Discord",
"icon": "shield"
},
"discord_members": {
"label": "Membres Discord",
"category": "moderation",
"description": "Liste des membres, activité et sanctions",
"icon": "users"
},
"twitch_moderation": {
"label": "Modération Twitch",
"category": "moderation",
@@ -164,7 +158,6 @@ PAGE_KEYS = [
("protondb", "ProtonDB"),
("freeloot", "FreeLoot"),
("moderation", "Modération Discord"),
("discord_members", "Membres Discord"),
("users", "Utilisateurs"),
("settings", "Paramètres"),
]