No description
This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2020-02-06 22:44:04 -06:00
.gitignore I can't believe I still accidentally commit stuff like this. Corrected Client ID commit. 2020-02-06 22:44:04 -06:00
Pipfile Iterative commit. 2020-02-05 12:22:01 -06:00
README.md I can't believe I still accidentally commit stuff like this. Corrected Client ID commit. 2020-02-06 22:44:04 -06:00
twitchify-slack.py I can't believe I still accidentally commit stuff like this. Corrected Client ID commit. 2020-02-06 22:44:04 -06:00

Twitchify Slack

A Python script meant to utilize the https://twitchemotes.com API to import custom emojis to Slack.

Installation

Since you're using an API you have to sign in with Twitch as a developer and "register an app".

https://dev.twitch.tv/console/apps

Once you've registered, click on manage and grab the "Client ID".

Save that to a file in the root directory of this project as .client_id or save as an environment variable called TWITCH_APP_CLIENT_ID.

Ensure you have pipenv installed (python -m pip install pipenv) and then install the packages in the Pipfile.

pipenv install

Usage

Once you install the packages, you should be all set. Run the following command to start the script:

pipenv run python twitchify-slack.py

This script takes a while, but it will download all the official Twitch emotes and BTTV emotes and output them to the out/ directory, with the names corresponding to the lowercase versions of their codes on Twitch.