This repository contains a simple Python script to bulk-import Party Parrot emojis in Mattermost.
Clone the repository or copy the script somewhere on your server (e.g. /tmp
), then run it:
$ python gen_data.py
It downloads all emojis under a directory partyparrot2mattermost
(use --output <path>
to change this) and generates
a JSONL metadata file for the import.
If needed, you can edit the file to remove the emojis you don’t want. Then, follow the official instructions to run the import:
cd /opt/mattermost
sudo -u mattermost bin/mattermost import bulk /path/to/the/file.jsonl --validate
sudo -u mattermost bin/mattermost import bulk /path/to/the/file.jsonl --apply
Once done, you can safely remove the script as well as the partyparrot2mattermost
directory.
Note: this script is not affiliated nor endorsed in any way by the Party Parrot authors.