fix: removed declaring the error because it didn't work

This commit is contained in:
Seaswimmer 2023-08-08 20:15:59 -04:00
parent 1bab406e7e
commit 2057de8f83
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -513,7 +513,7 @@ class Info(commands.Cog):
icon_url = icon.url
elif isinstance(icon, str):
icon_url = await self.fetch_twemoji(unicode_emoji=icon)
except commands.CommandInvokeError:
except:
icon_url = None
permissions = role.permissions
if role.color.value == 0: