Skip to content

Instantly share code, notes, and snippets.

@ouadie-lahdioui
Last active July 31, 2018 20:57
Show Gist options
  • Save ouadie-lahdioui/74d94dab04d9334d79f27153a8a06d47 to your computer and use it in GitHub Desktop.
Save ouadie-lahdioui/74d94dab04d9334d79f27153a8a06d47 to your computer and use it in GitHub Desktop.
git branch [NEW_BRANCHE_NAME] remotes/upstream/master // OR > git checkout -b [NEW_BRANCHE_NAME] remotes/upstream/master
git push -u origin [NEW_BRANCHE_NAME]
git remote add upstream https://github.com/howdyai/botkit.git
git fetch upstream
git checkout master
git rebase upstream/master
git push -f origin master
## Botkit Middleware :
- Send > Format : used inside .say method
- Spawn : used inside .spawn method
- heard : used inside .hears method
- triggered : used inside .trigger method
- receive : used inside .receiveMessage method
- Ingest > normalize > categorize > receive (findConversation / trigger)
## Botkit Triggers :
- webserver_up
- spawned
- conversationEnded
- sent
- End
## Google Hangouts Chat Starter .env file :
PORT=3000
GOOGLE_APPLICATION_CREDENTIALS=/Users/Ouadie/Downloads/GoogleCloudBotkitAccountServicekey.json
GOOGLE_VERIFICATION_TOKEN=efe_CIaKfFDdQlm_HBnQBkVeJUC_yNF3Uhs2lNeCdYs=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment