sergeant 0.8.1

Sergeant is a terminal based Twitch chat widget and bot in one. It will display the Twitch chat from your channel in terminal while also allowing you to add chat bot commands.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const socket = new WebSocket("ws://127.0.0.1:54321");
// const socket = new WebSocket("ws://127.0.0.1:8080");

socket.addEventListener("message", (event) => {
  console.log(event.data);
});

socket.addEventListener("open", (event) => {
  console.log("socket is open");
  console.log(event);
});

socket.addEventListener("error", (event) => {
  console.log("socket had an error");
  console.log(event);
});

console.log("hello");