fix(emojiinfo): fixed a syntax error

This commit is contained in:
Seaswimmer 2024-05-08 15:37:20 -04:00
parent ce595e50da
commit 4bf3e85df2
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

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