Initial support for pomelo migration

This commit is contained in:
Rapptz committed 2023-05-19 20:59:19 -04:00
1 parent 66689e16e8
commit df01db3490
11 files changed
+93 -80

No files matched your search

+1
View File
@@ -356,6 +356,7 @@ class ConnectionState(Generic[ClientT]):
return self._users[user_id]
except KeyError:
user = User(state=self, data=data)
# TODO: with the removal of discrims this becomes a bit annoying
if user.discriminator != '0000':
self._users[user_id] = user
return user