Fix Member.display_name to work.

This commit is contained in:
Rapptz
2017-02-10 03:10:30 -05:00
parent c16a515e50
commit bfe2b4fc03
2 changed files with 11 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class BaseUser:
if they have a guild specific nickname then that
is returned instead.
"""
return getattr(self, 'nick', None) or self.name
return self.name
def mentioned_in(self, message):
"""Checks if the user is mentioned in the specified message.