Add id field since it is required by serializer
This commit is contained in:
parent
217e446f07
commit
86b1797a86
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user