Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion discord/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def default_avatar(self) -> Asset:
This is calculated by the user's ID if they're on the new username system, otherwise their discriminator.
"""
eq = (self.id >> 22) if self.is_migrated else int(self.discriminator)
return Asset._from_default_avatar(self._state, eq % 5)
perc = 6 if self.is_migrated else 5
return Asset._from_default_avatar(self._state, eq % perc)

@property
def display_avatar(self) -> Asset:
Expand Down