mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Update tasks.py
This commit is contained in:
parent
db12e9862b
commit
44beee4d53
@ -141,6 +141,7 @@ def update_teamspeak3_groups(user):
|
||||
def update_discord_groups(user):
|
||||
logger.debug("Updating discord groups for user %s" % user)
|
||||
authserviceinfo = AuthServicesInfo.objects.get(user=user)
|
||||
groups = []
|
||||
for group in user.groups.all():
|
||||
groups.append(str(group.name))
|
||||
if len(groups) == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user