mirror of
https://github.com/System-End/nephthys.git
synced 2026-04-19 22:05:12 +00:00
add usernames sometimes
This commit is contained in:
parent
2491ca0944
commit
572d31fc8f
1 changed files with 5 additions and 1 deletions
|
|
@ -39,7 +39,11 @@ async def update_helpers():
|
|||
f"Creating new helper user {member_id} with info {user_info.get('name')}"
|
||||
)
|
||||
new_member_data_to_create.append(
|
||||
{"id": member_id, "helper": True, "username": user_info["name"]}
|
||||
{
|
||||
"id": member_id,
|
||||
"helper": True,
|
||||
"username": user_info.get("user", {}.get("name")),
|
||||
}
|
||||
)
|
||||
|
||||
if new_member_data_to_create:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue