Add support for ordering stickers in custom packs

This commit is contained in:
Tulir Asokan
2020-09-13 17:29:08 +03:00
parent 727b022b23
commit b0509920b4
2 changed files with 9 additions and 1 deletions

View File

@ -36,6 +36,8 @@ Notes:
1. Create a directory with your sticker images.
* The file name (excluding extension) will be used as the caption.
* The directory name will be used as the pack name/ID.
* If you want the stickers to appear in a specific order, prefix them with `<number>-`,
e.g. `01-Cat.png`. The number and dash won't be included in the caption.
2. Run `sticker-pack <pack directory>`.
* If you want to override the pack displayname, pass `--title <custom title>`.
3. Copy `<pack directory>/pack.json` to `web/packs/your-pack-name.json`.