From c03ca6649b6eda30cc07ea95cbf0531f5bb31cf2 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 8 Aug 2023 19:53:47 -0400 Subject: [PATCH] fix: fixed method naming --- info/info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info/info.py b/info/info.py index e6ebbca..ba1da86 100644 --- a/info/info.py +++ b/info/info.py @@ -494,7 +494,7 @@ class Info(commands.Cog): await ctx.send(embed=data) - async def fetch_twemoj(self, unicode_emoji): + async def fetch_twemoji(self, unicode_emoji): base_url = "https://cdn.jsdelivr.net/gh/jdecked/twemoji@latest/assets/72x72/" emoji_codepoint = "-".join([hex(ord(char))[2:] for char in unicode_emoji]) segments = emoji_codepoint.split("-") @@ -511,7 +511,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(unicode_emoji=icon) permissions = role.permissions if role.color.value == 0: colorint = 10070709