Browse Source

Merge 409662c8c5 into 2fbed93624

pull/10385/merge
IndorilReborn 3 weeks ago
committed by GitHub
parent
commit
bd9f1a32cc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      discord/user.py

4
discord/user.py

@ -313,9 +313,7 @@ class BaseUser(_UserTag):
def display_name(self) -> str:
""":class:`str`: Returns the user's display name.
For regular users this is just their global name or their username,
but if they have a guild specific nickname then that
is returned instead.
This is the user's global name or username
"""
if self.global_name:
return self.global_name

Loading…
Cancel
Save