aboutsummaryrefslogtreecommitdiff
path: root/authentication
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-08-31 01:32:49 -0400
committerBobby <[email protected]>2024-08-31 01:32:49 -0400
commit61d2ee7dd923393f586a3a754f5d0c38b71495f2 (patch)
tree3a13881d5b6707e2e713448e5b8f1ca65c5446e7 /authentication
parent5d79d3a25fef13f51bcb57adb5ca350010ec859d (diff)
downloadyugen-61d2ee7dd923393f586a3a754f5d0c38b71495f2.tar.xz
yugen-61d2ee7dd923393f586a3a754f5d0c38b71495f2.zip
preferred guid env
Diffstat (limited to 'authentication')
-rw-r--r--authentication/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/authentication/utils.py b/authentication/utils.py
index 7b38c8e..ac0364e 100644
--- a/authentication/utils.py
+++ b/authentication/utils.py
@@ -152,7 +152,7 @@ def get_discord_user(access_token, token_type):
if preferred_guild == guild["id"]:
print("Preferred Guild Found. Updating User Nickname to", member["nick"])
- user["global_name"] = member["nick"] if member["nick"] is not None else user["username"]
+ user["guild_name"] = member["nick"] if member["nick"] is not None else user["username"]
break
else: