From 409662c8c5e50289490f135e2d8e431def6dcb84 Mon Sep 17 00:00:00 2001 From: IndorilReborn Date: Wed, 14 Jan 2026 15:15:03 +0200 Subject: [PATCH] Fix documentation for `User.display_name` --- discord/user.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/discord/user.py b/discord/user.py index 32edb1dc7..371d3115f 100644 --- a/discord/user.py +++ b/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