fix(emojiinfo): fixed a syntax error
This commit is contained in:
parent
ce595e50da
commit
4bf3e85df2
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue