fix: possibly fixed unicode emojis?

This commit is contained in:
Seaswimmer 2023-08-08 16:51:03 -04:00
parent 6d92eb74c4
commit 3e469a8054
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -516,7 +516,7 @@ class Info(commands.Cog):
if isinstance(icon, discord.Asset): if isinstance(icon, discord.Asset):
icon_url = icon.url icon_url = icon.url
elif isinstance(icon, str): 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 permissions = role.permissions
if role.color.value == 0: if role.color.value == 0:
colorint = 10070709 colorint = 10070709