Skip to content

bfontaine/partyparrot2mattermost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Partyparrot2mattermost

This repository contains a simple Python script to bulk-import Party Parrot emojis in Mattermost.

Usage

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.

About

Import Party Parrot emojis in Mattermost

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages