fix: removed declaring the error because it didn't work
This commit is contained in:
parent
1bab406e7e
commit
2057de8f83
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue