fix: possibly fixed unicode emojis?
This commit is contained in:
parent
6d92eb74c4
commit
3e469a8054
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ class Info(commands.Cog):
|
|||
if isinstance(icon, discord.Asset):
|
||||
icon_url = icon.url
|
||||
elif isinstance(icon, str):
|
||||
icon_url = await self.fetch_twemoji_url(unicode_emoji=icon)
|
||||
icon_url = await self.fetch_twemoji_url(unicode_emoji=ord(icon))
|
||||
permissions = role.permissions
|
||||
if role.color.value == 0:
|
||||
colorint = 10070709
|
||||
|
|
Loading…
Reference in a new issue