mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
me when I lack a brain
This commit is contained in:
parent
6146ca270a
commit
e705b24005
1 changed files with 0 additions and 3 deletions
|
@ -106,9 +106,6 @@ export async function importCustomEmojis(
|
||||||
emoji.match(/\.(json)$/i),
|
emoji.match(/\.(json)$/i),
|
||||||
);
|
);
|
||||||
|
|
||||||
// only go one layer deep, recursion would be weird
|
|
||||||
containedEmojis.filter((emoji) => !emoji.includes("/"));
|
|
||||||
|
|
||||||
for (const emojiPath of containedEmojis) {
|
for (const emojiPath of containedEmojis) {
|
||||||
// strip extension and get filename to use as name
|
// strip extension and get filename to use as name
|
||||||
const name = path.basename(emojiPath, path.extname(emojiPath));
|
const name = path.basename(emojiPath, path.extname(emojiPath));
|
||||||
|
|
Loading…
Reference in a new issue