Update 'node/boto.js'
This commit is contained in:
parent
d2d0164c8a
commit
913715643c
18
node/boto.js
18
node/boto.js
|
@ -380,18 +380,23 @@ client.on("clearchat", (channel) => {
|
|||
});
|
||||
client.on("connected", (address, port) => {
|
||||
// Do your stuff.
|
||||
console.log('Connected ');
|
||||
});
|
||||
client.on("connecting", (address, port) => {
|
||||
// Do your stuff.
|
||||
console.log('Connecting ');
|
||||
});
|
||||
client.on("disconnected", (reason) => {
|
||||
// Do your stuff.
|
||||
console.log('Dis-Connected ');
|
||||
});
|
||||
client.on("emoteonly", (channel, enabled) => {
|
||||
// Chatmode
|
||||
console.log('CHAT MODE: Emotes Only ');
|
||||
});
|
||||
client.on("emotesets", (sets, obj) => {
|
||||
// Here are the emotes I can use:
|
||||
console.log('Emote Sets: IDK WHAT TO DO WITH THESE ');
|
||||
console.log(obj);
|
||||
});
|
||||
client.on("followersonly", (channel, enabled, length) => {
|
||||
|
@ -411,6 +416,7 @@ client.on("join", (channel, username, self) => {
|
|||
});
|
||||
client.on("logon", () => {
|
||||
// Do your stuff.
|
||||
console.log('Logon ');
|
||||
});
|
||||
client.on("message", (channel, userstate, message, self) => {
|
||||
// Don't listen to my own messages..
|
||||
|
@ -448,12 +454,8 @@ client.on("part", (channel, username, self) => {
|
|||
console.log('-1 IRC Chatter');
|
||||
// client.say(channel, `/me -1 Chatter! Where's my bounty hunters? Essemble the *air-qoutes* search-party *air-qoutes*`);
|
||||
});
|
||||
client.on("ping", () => {
|
||||
// Do your stuff.
|
||||
});
|
||||
client.on("pong", (latency) => {
|
||||
// Do your stuff.
|
||||
});
|
||||
//client.on("ping", () => {});
|
||||
//client.on("pong", (latency) => {});
|
||||
client.on("r9kbeta", (channel, enabled) => {
|
||||
// Do your stuff.
|
||||
});
|
||||
|
@ -466,6 +468,7 @@ client.on("raw_message", (messageCloned, message) => {
|
|||
});
|
||||
client.on("reconnect", () => {
|
||||
// Do your stuff.
|
||||
console.log('Re-Connecting ');
|
||||
});
|
||||
client.on("resub", function (channel, username, months, message, userstate, methods) {
|
||||
client.say(channel, `/me BLEEP! BLOOP! Legend re-sub! Thanks for your continued support!`);
|
||||
|
@ -473,12 +476,15 @@ client.on("resub", function (channel, username, months, message, userstate, meth
|
|||
});
|
||||
client.on("roomstate", (channel, state) => {
|
||||
// Do your stuff.
|
||||
console.log('Roomstate ');
|
||||
});
|
||||
client.on("serverchange", (channel) => {
|
||||
// Do your stuff.
|
||||
console.log('Server Change ');
|
||||
});
|
||||
client.on("slowmode", (channel, enabled, length) => {
|
||||
// Do your stuff.
|
||||
console.log('CHAT MODE: Slow Mode enabled! ');
|
||||
});
|
||||
client.on("subgift", (channel, username, streakMonths, recipient, methods, userstate) => {
|
||||
let senderCount = ~~userstate["msg-param-sender-count"]; // IDK
|
||||
|
|
Loading…
Reference in New Issue