Very simple test bot using the Slack RTM Api through the npm package slackbots.
Log into your Slack team and create a bot. Make a note of the API token.
After npm install
run the following replacing your <<<YOUR_API_TOKEN>>>
with
the one you received when creating your bot.
API_TOKEN='<<<YOUR_API_TOKEN>>>' DEBUG=slackbot* npm start