Code help for my simple Node.js chatbot?

I’m almost a complete newbie so please, bear with me… but am I on the right track? If so, I’ll test it later on a few channels.

var tmi = require('tmi.js');

var options = {
	options: {
		debug: true
	},
	connection: {
		cluster: "aws",
		reconnect: true
	},
	identity: {
		username: "forbidinjustice",
		password: "oauth:redacted"
	},
	channels: ["Channel1","Channel2","Channel3"]
};

var client = new tmi.client(options);
client.connect();

// OPEN


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

	switch (channel) {

	case "channel1":
    	client.say("channel1", "Thanks for the sub to Channel 1!");
    break;

    case "channel2":
    	client.say("channel2", "Thanks for the sub to Channel 2!");
    break;

    case "channel3":
    	client.say("channel3", "Thanks for the sub to Channel 3!");
}

});