IndorilReborn
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
3 deletions
-
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 |
|
|
|
|