Skip to content

Commit 6ec99f2

Browse files
committed
🐛 Fix emojis.json path
1 parent 51df432 commit 6ec99f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/utils/public.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def find(predicate: Callable[[T], Any], seq: Iterable[T]) -> T | None:
538538
return None
539539

540540

541-
with importlib.resources.files(__package__).joinpath("emojis.json").open(encoding="utf-8") as f:
541+
with importlib.resources.files(__package__).joinpath("../emojis.json").open(encoding="utf-8") as f:
542542
EMOJIS_MAP = json.load(f)
543543

544544
UNICODE_EMOJIS = set(EMOJIS_MAP.values())

0 commit comments

Comments
 (0)