mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Another correction to logging for discord manager.
This commit is contained in:
parent
ab7017094e
commit
087dc24344
@ -181,7 +181,7 @@ class DiscordAPIManager:
|
||||
path = DISCORD_URL + "/guilds/" + str(self.server_id) + "/members/" + str(user_id)
|
||||
data = { 'roles': role_ids }
|
||||
r = requests.patch(path, headers=custom_headers, data=json.dumps(data))
|
||||
logger.debug("Received status code %s after setting roles of user %s to %s" % (user_id, role_ids))
|
||||
logger.debug("Received status code %s after setting roles of user %s to %s" % (r.status_code, user_id, role_ids))
|
||||
r.raise_for_status()
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user