Add EmojiInfo cog #27

Merged
cswimr merged 27 commits from emoji into main 2024-05-08 16:07:30 -04:00
Showing only changes of commit 4bf3e85df2 - Show all commits

View file

@ -81,8 +81,8 @@ class PartialEmoji(discord.PartialEmoji):
with open(path, "r") as file:
emojis: dict = json.load(file)
emoji_aliases = []
for dict_name, group in emojis.items:
for key, value in group.items:
for dict_name, group in emojis.items():
for key, value in group.items():
if value == name:
emoji_group = dict_name
if key not in emoji_aliases: