I created a remix with the refactored datastore.js. I went to verify they work in this new project but encountered a problem.
Due to the switch to sequelize with sqlite in memory model, ever time server side starts it has no bot token. Even if i then use the Add to Slack feature to set a bot token the server side process is already running and won't pick up the new value in the database. Then every restart on server side loses that set bot token, with these constraints the bot can never send a message I believe as the server side never has a loaded valid bot token value.
I tried switch over to a persistent db by setting
storage:'.data/database.sqlite' in the setup of sequelize, but this fails with errors as if the .data folder does not exist or is not writable.
This was not a surprise as previously when I created the other project remix of slack bot i couldn't get sequelize to use path storage. I ended up creating a remix of https://gomix.com/#!/project/sqlite3-db and then copying all the bot stuff back into the project.
For me at least it seems remix of the slack-bot then adding storage is not possible.
Anyway https://gomix.com/#!/project/slack-bot-fixes is just a refactor to improve datastore.js but I can't fully test it due to the in memory db model, The datastore library does appear to work as it connects gets and sets values to the database.
LOL. got warning about only 2 links per post as new user... i had the slack-bot-fixes link in twice so no big deal.