Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken authored Aug 8, 2023
1 parent 7f89283 commit 0e940a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ yb = new YarrboardClient(options.host, options.user, options.pass, options.login
setTimeout(yb.printMessageStats.bind(yb), 1000);

yb.onopen = function () {
yb.json({"cmd":"toggle_channel","id": 0});
yb.json({"cmd":"toggle_channel","id": 0});
}

yb.onmessage = function (msg) {
if (msg.msgid)
this.log(msg.msgid);
if (msg.msgid)
this.log(msg.msgid);
}

yb.start();
Expand Down

0 comments on commit 0e940a5

Please sign in to comment.