mirror of https://gitlab.com/litecord/litecord.git
litecord.storage: inject discriminator on webhook author
This commit is contained in:
parent
dab830066b
commit
507393678e
|
|
@ -816,6 +816,7 @@ class Storage:
|
||||||
res['author'] = {
|
res['author'] = {
|
||||||
'id': str(wb_info['id']),
|
'id': str(wb_info['id']),
|
||||||
'bot': True,
|
'bot': True,
|
||||||
|
'discriminator': '0000',
|
||||||
'username': wb_info['name'],
|
'username': wb_info['name'],
|
||||||
'avatar': wb_info['avatar']
|
'avatar': wb_info['avatar']
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue