Update 'node/boto.js'
This commit is contained in:
parent
6e4d6b299a
commit
8255c59f62
18
node/boto.js
18
node/boto.js
|
@ -1,4 +1,20 @@
|
|||
// B O T O
|
||||
// ---
|
||||
|
||||
// Color Guid
|
||||
// red
|
||||
// console.log('\x1b[31m%s\x1b[0m', 'I am red')
|
||||
// green
|
||||
// console.log('\x1b[32m%s\x1b[0m', 'I am green')
|
||||
// yellow
|
||||
// console.log('\x1b[33m%s\x1b[0m', 'I am yellow')
|
||||
// blue
|
||||
// console.log('\x1b[34m%s\x1b[0m', 'I am blue')
|
||||
// magenta
|
||||
// console.log('\x1b[35m%s\x1b[0m', 'I am magenta')
|
||||
// cyan
|
||||
// console.log('\x1b[36m%s\x1b[0m', 'I am cyan')
|
||||
|
||||
require('dotenv').config();
|
||||
const tmi = require('tmi.js');
|
||||
|
||||
|
@ -424,7 +440,7 @@ client.on("hosting", (channel, target, viewers) => {
|
|||
client.say(channel, `/me BLEEP! BLOOP! @Sarimoko is auto-hosting various streamers! For more info: https://cord.sarimoko.com`);
|
||||
});
|
||||
client.on("join", (channel, username, self) => {
|
||||
console.log('\x1b[36m%s\x1b[0m', 'LOG |', username, 'joined the chat!');
|
||||
console.log('\x1b[36m%s\x1b[0m', 'LOG |', '\x1b[33m%s\x1b[0m', username, '\x1b[36m%s\x1b[0m', 'joined the chat!');
|
||||
});
|
||||
client.on("logon", () => {
|
||||
console.log('LOG: Logon ');
|
||||
|
|
Loading…
Reference in New Issue