Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 739 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 739 Bytes

slack_user_avatar_emojis

Build Status

automate user avatars to emoji

ex. user: matsu_chara ==> emoji: :m_atsu_chara:

usage

  1. git submodule update --init
  2. cd slack-emojinator && pyenv virtualenv slack-emojinator 3.6.3 && pyenv local slack-emojinator && pip install -r requirements.txt && cd ..
  3. cp .env.example .env
  4. $EDITOR .env
  5. ./run.sh (it execute source .env, so enviroment variable might be overwrriten.)

how it works?

  1. get user lists via https://api.slack.com/methods/users.list
  2. wget it
  3. remove current emojis
  4. register by slack-emojinator