This is an example of using a custom express server with Botkit. We are using a facebook bot here, but the same principles apply for other bot platforms.
Checkout the accompanying Medium post
Run this project with:
verify_token=<VTOKEN> page_token=<PTOKEN> node bot.js
\ ゜o゜)ノ