Skip to content

Commit b5041d0

Browse files
authored
Update index.js
1 parent a52a29f commit b5041d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ io.sockets.on("connection", function (socket) {
155155
}
156156
bot.setControlState(state, toggle);
157157
});
158+
socket.on("kicked", function (reason) {
159+
console.log('Kicked! Reason:' + reason);
160+
});
158161
socket.on("command", function (com) {
159162
bot.chat(com);
160163
});

0 commit comments

Comments
 (0)