mirror of https://gitlab.com/litecord/litecord.git
storage: add author.discriminator when wb_info is found
This commit is contained in:
parent
8463f34e0e
commit
7901a18332
|
|
@ -829,7 +829,8 @@ class Storage:
|
||||||
'id': str(wb_info['webhook_id']),
|
'id': str(wb_info['webhook_id']),
|
||||||
'bot': True,
|
'bot': True,
|
||||||
'username': wb_info['name'],
|
'username': wb_info['name'],
|
||||||
'avatar': wb_info['avatar']
|
'avatar': wb_info['avatar'],
|
||||||
|
'discriminator': '0000',
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
res['author'] = await self.get_user(res['author_id'])
|
res['author'] = await self.get_user(res['author_id'])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue