Blur
Twitch Chat Bot
Install
First, add Blur to your mix.exs dependencies:
def deps do
[{:blur, "~> 0.2.1-beta3"}]
end
Then, update your dependencies:
$ mix deps.get
Then, you'll want to start the Blur application.
# [user, channels]
Blur.App.start_link(["800807", ["rockerboo"]])
You will need to authenticate with OAuth. This is set with the TWITCH_CHAT_KEY
environmental variable. See .env.example for all the variables.
# The key generated from https://twitchapps.com/tmi/.
export TWITCH_CHAT_KEY=oauth: