Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.21 KB

hit2slack-emoji

https://img.shields.io/pypi/dm/hip2slack-emoji.svg

Did you migrate from Hipchat to Slack and now miss the funny emojis? Your problems are over!

Install

  1. We use splinter to make the browser interactions needed to upload the emojis and as we are using only chromedriver for now, you have to first follow these instructions to setup chromedriver in your machine.
  2. Make sure to create and activate a Python 3 virtualenv, then type the following:
(venv) $ pip install hip2slack-emoji

Run

You need thre environment variables:

  • SLACK_TEAM: your Slack team's name as in https:/.slack.com/
  • SLACK_EMAIL: your Slack email
  • SLACK_PASS: your Slack password

So you can run by doing this:

(venv) $ env SLACK_TEAM=yourslackteam [email protected] SLACK_PASS=yourslackpass catchemall

If you want, you can just run:

(venv) $ catchemall

And you will get an interactive prompt asking for Slack info.

Make sure you have permissions in your team to upload emojis.

Enjoy!