This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tasks
24 lines (24 loc) · 1.95 KB
/
.tasks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
WeetBot v2 task list:
IRC:
✔ TCP dial into irc.chat.twitch.tv:6667 @done (4/22/2018, 8:30:17 PM)
✔ Read lines from the tcp connection and return the result to be processed @done (4/22/2018, 8:30:19 PM)
✔ Create a Send function to send messages to the connection easier @done (4/22/2018, 8:30:21 PM)
✔ Send CAP REQs for membership (Not really needed), tags, and commands @done (4/22/2018, 8:40:17 PM)
✔ Parse messages based on different tags [PRIVMSG, CLEARCHAT, ROOMSTATE, USERNOTICE (New Sub)] @done (4/22/2018, 10:31:16 PM)
✔ Respond to PINGs so we don't get disconnected @done (4/29/2018, 7:41:22 AM)
✔ Merge Connection into a global struct with PubSub @done (4/29/2018, 8:38:35 AM)
MariaDB Logs:
✘ Store all messages in MariaDB (MySQL) for logs @cancelled (10/4/2018, 3:30:51 PM)
...
PubSub:
✔ Use github.com/gorilla/websocket to connect to wss://pubsub-edge.twitch.tv/ @done (4/22/2018, 11:06:04 PM)
✔ Send PING to the connection at least every 5 minutes to keep the connection alive @done (4/22/2018, 11:42:09 PM)
✔ Create an event handler based on Topics for modular use @done (4/22/2018, 11:29:43 PM)
✔ Create a Send function to send messages to the connection easier @done (4/22/2018, 11:38:16 PM)
✔ Listen to a topic within 15 seconds of connecting to prevent inactive disconnect from Twitch @done (4/22/2018, 11:06:13 PM)
☐ Watch for RECONNECT message to know when to reconnect (typically sent for ws maintenance)
✔ Parse JSON from PubSub Messages @done (4/23/2018, 12:02:24 AM)
MariaDB Logs:
✘ Store moderator actions (chat_moderator_actions.<Bot ID>.<Channel ID>) in MariaDB (MySQL) for logs @cancelled (10/4/2018, 3:25:10 PM)
✘ Listen for new followers (following.<Channel ID>) and store them in MariaDB (MySQL) @cancelled (10/4/2018, 3:25:11 PM)
✘ Listen for video playback (video-playback-by-id.<Channel ID>) updates to store live stream stats in MariaDB (MySQL) @cancelled (10/4/2018, 3:25:12 PM)