From 69e59c45db533c92884f6f784b9344492d30c262 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Sun, 13 Feb 2022 03:49:36 +0000 Subject: [PATCH] Add 'www/boto.js' --- www/boto.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 www/boto.js diff --git a/www/boto.js b/www/boto.js new file mode 100644 index 0000000..7caacc3 --- /dev/null +++ b/www/boto.js @@ -0,0 +1,11 @@ +const client = new tmi.Client({ + channels: [ 'my_name' ] +}); + +client.connect(); + +client.on('message', (channel, tags, message, self) => { + // "Alca: Hello, World!" + console.log(`${tags['display-name']}: ${message}`); +}); + \ No newline at end of file