Skip to content

Commit

Permalink
Fix bug: AttributeError: DummyMember object has no attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Dec 10, 2024
1 parent d264aba commit 3dd632c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ async def create_member_file(member: Member, *, save_to_disk: bool = True) -> di

profile_summary = {
"id": member.id,
"name": clean_string(member.name),
"nick": clean_string(member.nick),
"display_name": clean_string(member.display_name),
"global_name": clean_string(member.global_name),
"name": clean_string(profile.name),
"nick": clean_string(profile.nick),
"display_name": clean_string(profile.display_name),
"global_name": clean_string(profile.global_name),
"pronouns": profile.metadata.pronouns,
"guild_pronouns": profile.guild_metadata.pronouns,
"bio": clean_string(profile.bio),
Expand Down

0 comments on commit 3dd632c

Please sign in to comment.