Add empty order.txt file with comment to stickers folder

Mainly so that the folder will be in git.
This commit is contained in:
N-Pex 2021-04-15 17:34:25 +02:00
parent 9aa49094bc
commit e4cbec4bd5
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
# List your sticker pack names here, one per line

View file

@ -7,7 +7,7 @@ try {
const packInfo = stickerPackInfo.split("\n"); const packInfo = stickerPackInfo.split("\n");
for (let i = 0; i < packInfo.length; i++) { for (let i = 0; i < packInfo.length; i++) {
const pack = packInfo[i]; const pack = packInfo[i];
if (pack && pack.length > 0) { if (pack && pack.length > 0 && !pack.startsWith('#')) {
stickerPacks[pack] = []; stickerPacks[pack] = [];
stickerPacks.ordering.push(pack); stickerPacks.ordering.push(pack);
} }