Update 'node/autoban.js'
This commit is contained in:
parent
5127845691
commit
62d8a238f7
|
@ -26,6 +26,17 @@ const client = new tmi.Client({
|
||||||
console.log(`Loading... | Chatbot`.black.bgGreen);
|
console.log(`Loading... | Chatbot`.black.bgGreen);
|
||||||
client.connect();
|
client.connect();
|
||||||
|
|
||||||
|
client.on("connected", (address, port) => {
|
||||||
|
console.log('LOG | Connected @'.green, address.yellow, 'on port'.green, port);
|
||||||
|
});
|
||||||
|
|
||||||
|
client.on("connecting", (address, port) => {
|
||||||
|
console.log('LOG | Connecting @'.green, address.yellow, 'on port'.green, port);
|
||||||
|
});
|
||||||
|
client.on("disconnected", (reason) => {
|
||||||
|
console.log('LOG |'.brightRed, reason.yellow, 'caused a disconnection...'.brightRed);
|
||||||
|
});
|
||||||
|
|
||||||
client.on('message', (channel, tags, message, self) => {
|
client.on('message', (channel, tags, message, self) => {
|
||||||
//if(botlist) return;
|
//if(botlist) return;
|
||||||
const badges = tags.badges || {}; // Scan Badges
|
const badges = tags.badges || {}; // Scan Badges
|
||||||
|
|
Loading…
Reference in New Issue