Last active
July 31, 2018 20:57
-
-
Save ouadie-lahdioui/74d94dab04d9334d79f27153a8a06d47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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