From 84177383c0cf02b13103c6420514e842ea4752fd Mon Sep 17 00:00:00 2001 From: Kylie Czar Date: Wed, 30 Aug 2023 23:24:44 -0300 Subject: [PATCH] fix avatar :DDDD --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.py b/main.py index c486609..fa44dcb 100644 --- a/main.py +++ b/main.py @@ -277,7 +277,7 @@ class AngelBot(ClientXMPP): print(e) async def update_info(self): - """Update the bot info.""" + """Update the bot info.""" with open("angel.png", "rb") as avatar_file: avatar = avatar_file.read() @@ -310,8 +310,6 @@ class AngelBot(ClientXMPP): ) ) - asyncio.gather(self.plugin["xep_0084"].publish_avatar_metadata([info])) - async def message(self, msg): """Process a message.""" if msg["type"] in ("chat", "normal"):