Quote changes, missing f

This commit is contained in:
Firepup Sixfifty 2024-06-04 17:18:40 -05:00
parent e62458ee5e
commit 22f9a027ec
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -36,7 +36,7 @@ print("All pages loaded, generating user mappings now.")
del pages del pages
user_mappings = {} user_mappings = {}
for user in users_list: for user in users_list:
user_mappings[f"<@{user['id']}>"] = f'<@{user["profile"]["display_name"]}>' if user["profile"]["display_name"] else "<@{user['id']}>" user_mappings[f"<@{user['id']}>"] = f"<@{user['profile']['display_name']}>" if user["profile"]["display_name"] else f"<@{user['id']}>"
print("User mappings loaded. User count:", len(user_mappings)) print("User mappings loaded. User count:", len(user_mappings))