Code help for my simple Node.js chatbot?

I tested it and a subscription occurred in the channel and the bot didn’t respond, not even an error in the log. The entire client.on section looks like this:

client.on("subscription", function (channel, username, method) {

	switch (channel) {
	case "channel1":
    	client.say("channel1", "thanks for the sub to channel1");
    break;
    case "channel2":
    	client.say("channel2", "thanks for the sub to channel2");
    break;
    case "channel3":
    	client.say("channel3", "thanks for the sub to channel3");
}
 	});