fix: possibly fixed the error?
This commit is contained in:
parent
2057de8f83
commit
c164b68973
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue