From c164b689733ff2c79bb8f8c337f1367b45eb4fc6 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 20:17:14 -0400 Subject: [PATCH] fix: possibly fixed the error? --- info/info.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info/info.py b/info/info.py index 138b4f0..ccaadf0 100644 --- a/info/info.py +++ b/info/info.py @@ -513,6 +513,8 @@ class Info(commands.Cog): icon_url = icon.url elif isinstance(icon, str): icon_url = await self.fetch_twemoji(unicode_emoji=icon) + else: + icon_url = None except: icon_url = None permissions = role.permissions