I know how to program a slackbot response when anyone mentions certain words in a comment. Is it possible to limit this to certain channels?
While this isn't the most elegant place for feature information, according to this Twitter thread involving SlackHQ, there is no way to limit Slackbot at the channel level.
Edit: this may not suit your needs but there is a Chrome extension for filtering bot messages at the channel level. I haven't tried it so I can't personally vouch for it. If you really need this Slackbot feature then one option is to fork the extension on Github and modify the code so that only certain Slackbot messages are filtered.