We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a52a29f + b5041d0 commit b6122f1Copy full SHA for b6122f1
src/index.js
@@ -155,6 +155,9 @@ io.sockets.on("connection", function (socket) {
155
}
156
bot.setControlState(state, toggle);
157
});
158
+ socket.on("kicked", function (reason) {
159
+ console.log('Kicked! Reason:' + reason);
160
+ });
161
socket.on("command", function (com) {
162
bot.chat(com);
163
0 commit comments