I would reconsider exiting on the absence of this environment variable. There are probably existing users of this script who wouldn't have the API key set, so their bot would exit on startup next time they upgrade.

A better approach is checking at respond time if the key is set and responding accordingly. See https://github.com/github/hubot/blob/master/docs/scripting.md#environment-variables for examples.