storage: add author.discriminator when wb_info is found

This commit is contained in:
Luna 2019-03-22 22:23:51 -03:00
parent 8463f34e0e
commit 7901a18332
1 changed files with 2 additions and 1 deletions

View File

@ -829,7 +829,8 @@ class Storage:
'id': str(wb_info['webhook_id']),
'bot': True,
'username': wb_info['name'],
'avatar': wb_info['avatar']
'avatar': wb_info['avatar'],
'discriminator': '0000',
}
else:
res['author'] = await self.get_user(res['author_id'])