mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
parent
355eb08b25
commit
1c215cfbbe
@ -151,7 +151,9 @@ class ConnectionState:
|
|||||||
try:
|
try:
|
||||||
return self._users[user_id]
|
return self._users[user_id]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self._users[user_id] = user = User(state=self, data=data)
|
user = User(state=self, data=data)
|
||||||
|
if user.discriminator != '0000':
|
||||||
|
self._users[user_id] = user
|
||||||
return user
|
return user
|
||||||
|
|
||||||
def get_user(self, id):
|
def get_user(self, id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user