me when I lack a brain

This commit is contained in:
PrivateGER 2023-06-01 21:12:03 +02:00
parent f508a358b1
commit d409c31ad5
1 changed files with 0 additions and 3 deletions

View File

@ -106,9 +106,6 @@ export async function importCustomEmojis(
emoji.match(/\.(json)$/i),
);
// only go one layer deep, recursion would be weird
containedEmojis.filter((emoji) => !emoji.includes("/"));
for (const emojiPath of containedEmojis) {
// strip extension and get filename to use as name
const name = path.basename(emojiPath, path.extname(emojiPath));