summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-10-31 17:14:06 +0500
committerilotterytea <iltsu@alright.party>2025-10-31 17:14:06 +0500
commitaed413b1bed8dc2883a94262e4c6fa64e7e986de (patch)
tree59e7a4d10a7253b69e194469544990fca726c2db /index.html
parentddc4730d6ba1629b10babc4ece7e6b5995d97cea (diff)
feat: connect to twitch chat
Diffstat (limited to 'index.html')
-rw-r--r--index.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/index.html b/index.html
index c484ff9..de2f7a0 100644
--- a/index.html
+++ b/index.html
@@ -4,6 +4,18 @@
<title>webberino</title>
</head>
<body>
- <h1>xd</h1>
+ <div class="tabs" id="main-window-tabs"></div>
+ <div class="messages" id="window-messages">
+ <noscript>JavaScript is required.</noscript>
+ </div>
+ <div class="input-field" id="main-window-input-field"></div>
</body>
+ <script src="/scripts/chat.js"></script>
+ <script>
+ window.onload = () => {
+ const client = new TwitchIRCClient("wss://irc-ws.chat.twitch.tv", "justinfan65432", "12345");
+ client.connect();
+ client.join("forsen");
+ };
+ </script>
</html> \ No newline at end of file