Skip to content

Instantly share code, notes, and snippets.

@shmup
Forked from hunterbridges/twitch_irc.md
Last active March 19, 2024 11:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shmup/0a144a44a24aadc8679bc2e5889e7284 to your computer and use it in GitHub Desktop.
Save shmup/0a144a44a24aadc8679bc2e5889e7284 to your computer and use it in GitHub Desktop.
How to connect to Twitch with IRSSI (SSL)

IRSSI / TWITCH

Here's a method to chat in a twitch #channel with IRSSI

Get your oauth token here: https://twitchapps.com/tmi/

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";
  };
}

I like to /connect twitch and /disconnect twitch as necessary.

Alternatively, just set autoconnect = "yes".

Anyway, now you can /j #twitch_channel_name

@shmup
Copy link
Author

shmup commented Sep 4, 2022

@psour
Copy link

psour commented Mar 19, 2024

Hey you can get the oauth token for your account by simply log in to twitch and and look at your cookies with e.g. F12
The Cookie in question is named auth-token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment