Is your slack channel boring and lifeless? Having trouble getting your real emotions across with the standard emojis? Now you can upload all current Twitch and BTTV emotes to your Slack workspace so you can LUL at the good times, pepehands at the bad times, and kappa all the time.
Largely inspired by the Ruby app caldrealabs/kappa-slack.
Use of the Slack API inspired by smashwilson/slack-mojinator and jackellenberger/emojme.
Uses the undocumented BetterTTV API for BTTV emotes.
Requires the yaml library: go get gopkg.in/yaml.v3
A list of emotes to upload are expected in the lambtron/emojipacks style:
title: Twitch
emojis:
- name: babyrage
src: https://static-cdn.jtvnw.net/emoticons/v1/22639/3.0
- name: biblethump
src: https://static-cdn.jtvnw.net/emoticons/v1/86/3.0
- Fetch your token:
- open your workspace's customisation page in a browser
- open up JS console
- run
window.prompt("your api token is: ", TS.boot_data.api_token)
and copy the value (should look likexoxs...
)
- Run with
go run kappa.go
with the following flags:team
: the name of your team, eg "abc" if your slack workspace is "abc.slack.com"token
: the token from step 1file
: a YAML file containing emotes to upload, formatted as above