Browse Source

Return 'username' instead of 'name'

pull/2464/head
Merlintor 5 years ago
parent
commit
b458cc7b7d
  1. 2
      discord/user.py

2
discord/user.py

@ -114,7 +114,7 @@ class BaseUser(_BaseUser):
def _to_minimal_user_json(self):
return {
'name': self.name,
'username': self.name,
'id': self.id,
'avatar': self.avatar,
'discriminator': self.discriminator,

Loading…
Cancel
Save