Update 'node/boto.js'
This commit is contained in:
parent
650cb7989d
commit
7321cc9f76
13
node/boto.js
13
node/boto.js
|
@ -31,20 +31,7 @@ const client = new tmi.Client({
|
||||||
|
|
||||||
client.connect();
|
client.connect();
|
||||||
|
|
||||||
// ==================================
|
|
||||||
// START | AUTO/TIMED
|
|
||||||
client.on('connected', (address, port) => {
|
|
||||||
client.action('Sariboto', 'by Sarimoko')
|
|
||||||
setInterval(() => {
|
|
||||||
messageInterval();
|
|
||||||
}, 300);
|
|
||||||
});
|
|
||||||
|
|
||||||
function messageInterval() {
|
|
||||||
client.say(" Timed message every 300 seconds");
|
|
||||||
}
|
|
||||||
// END | AUTO/TIMED
|
|
||||||
// ==================================
|
|
||||||
|
|
||||||
client.on('message', (channel, tags, message, self) => {
|
client.on('message', (channel, tags, message, self) => {
|
||||||
if(self) return;
|
if(self) return;
|
||||||
|
|
Loading…
Reference in New Issue