|
@@ -639,20 +639,12 @@ async def update_users_periodically():
|
|
|
if batch_count > 0:
|
|
if batch_count > 0:
|
|
|
conn.commit()
|
|
conn.commit()
|
|
|
|
|
|
|
|
- #print(f"[✓] {datetime.now().strftime('%H:%M:%S')} - Datenbank mit Discord-Rollen synchronisiert.")
|
|
|
|
|
-
|
|
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
print(f"[!] Fehler beim Update der User: {e}")
|
|
print(f"[!] Fehler beim Update der User: {e}")
|
|
|
|
|
|
|
|
await asyncio.sleep(60) # Update every minute
|
|
await asyncio.sleep(60) # Update every minute
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-#_________________________________#
|
|
|
|
|
-## TXADMIN ROLE PERMISSIONS
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
#---------------------------------#
|
|
#---------------------------------#
|
|
|
#Run function
|
|
#Run function
|
|
|
load_extensions()
|
|
load_extensions()
|