Fix du système de permissions

This commit is contained in:
Mathis 2026-01-14 21:32:20 +01:00
parent dfec6b2418
commit c330b9a1cc
48 changed files with 4229 additions and 243 deletions

View file

@ -25,6 +25,8 @@ class StaffAnalytics:
async def get_staff_list(self, guild_id: int) -> List[Dict[str, Any]]:
"""Get list of staff members with their stats"""
config = self.storage.load_config(guild_id)
# Invalidate cache to ensure we get the latest ticket data with new ratings
self.storage.invalidate_cache(guild_id)
tickets = self.storage.get_guild_tickets(guild_id)
staff_stats = defaultdict(lambda: {