Bot server support

This commit is contained in:
2026-02-10 18:59:21 +01:00
parent 0802007a61
commit 4c53282bfa
4 changed files with 194 additions and 71 deletions

View File

@@ -467,6 +467,7 @@
const msg = JSON.parse(e.data);
if (msg.type === "room_list") updateRoomList(msg.rooms);
if (msg.type === "init") {
myRole = msg.role;
roomId = msg.roomId;
document.getElementById("roomCode").innerText = roomId.toUpperCase();
window.history.replaceState({}, '', `?room=${roomId}`);