Fix du système de permissions
This commit is contained in:
parent
dfec6b2418
commit
c330b9a1cc
48 changed files with 4229 additions and 243 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue