# tmi.ex

Connect to Twitch chat with Elixir.

Inspired by [tmi.js](

## Installation

The package can be installed by adding `tmi` to your list of dependencies in `mix.exs`:

def deps do
    {:tmi, "~> 0.1.0"},

Documentation can be found at [](

## Usage

You can use your own Twitch username, but it is recommended to make a new twitch account just for your bot.
You'll also need an OAuth token for the password.

The simplest method to get an OAuth token (while logged in to the account your bot will be) use the [Twitch Chat OAuth Password Generator](

To connect, start the supervisor with:

config = [
  user: "mybotusername",
  pass: "oauth:mybotoauthtoken",
  chats: ["mychat"]

{:ok, _pid} = TMI.Supervisor.start_link(config)

#### TODO: All the typical bot stuff.