Add id field since it is required by serializer

This commit is contained in:
Dustin Pianalto 2019-12-14 01:53:46 -09:00
parent 217e446f07
commit 86b1797a86

View File

@ -14,6 +14,7 @@ class UserEvents(commands.Cog):
@commands.Cog.listener()
async def on_user_update(self, before, after):
data = {
'id': after.id,
'username': after.name,
'discriminator': after.discriminator,
'animated': after.is_avatar_animated(),