From 7901a183329db1acf4517704c50649b1c0218b57 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 22 Mar 2019 22:23:51 -0300 Subject: [PATCH] storage: add author.discriminator when wb_info is found --- litecord/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litecord/storage.py b/litecord/storage.py index 600e486..faaed00 100644 --- a/litecord/storage.py +++ b/litecord/storage.py @@ -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'])