/twitch_chat_bot

First shot at making a Chat Bot for my Twitch channel.

Primary LanguagePythonApache License 2.0Apache-2.0

Twitch Chat Bot

Uses twitchio.

Features so far

  • Basic chat commands.

Future Features

  • Messages in response to PubSub events.

Connecting to twitch via IRC with SSL

Get your oauth token here. Example using irssi, with SSL enabled:

-- Server block
server = {
    address = "irc.chat.twitch.tv";
    chatnet = "twitch";
    port = "6697";
    password = "oauth:changeme";
    use_ssl = "yes";
    ssl_verify = "yes";
    autoconnect = "no";
}


-- Chatnet block
chatnets = {
    twitch = {
        type = "IRC";
        nick = "your_twitch_username";
    };
}

Use /connect twitch and /disconnect twitch.
If you want to autoconnect, just set autoconnect = "yes".