Add EmojiInfo cog #27
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue