Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package.json #41

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified img/esther.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"hbs": "^4.0.0",
"jsonwebtoken": "^5.7.0",
"lodash": "^4.6.1",
"smooch-bot": "https://github.com/skhavari/smooch-bot.git",
"smooch-bot": "^1.0.1",
"smooch-core": "^1.1.1"
},
"devDependencies": {
Expand All @@ -26,4 +26,4 @@
"esformatter-quotes": "^1.0.3",
"eslint": "^2.2.0"
}
}
}
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = new Script({

start: {
receive: (bot) => {
return bot.say('So you want to learn about Esther? Just say HELLO to get started.')
return bot.say('So you want to learn about NIKHIL? Just say HELLO to get started.')
.then(() => 'speak');
}
},
Expand Down Expand Up @@ -67,4 +67,4 @@ module.exports = new Script({
.then(processMessage);
}
}
});
});
11 changes: 6 additions & 5 deletions script.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"BOT": "Hi there!\nI’m the personal bot of Esther, a Product Marketer from San Francisco.\n![esther](https://raw.githubusercontent.com/esthercrawford/smooch-bot-example/master/img/esther.jpg)\nWant to know more about bots or learn about Esther? %[I'm here for the bot](postback:here_for_the_bot) %[Learn about Esther](postback:learn_about_esther) %[One random fact!](postback:random_fact)",
"HELLO": "Hey, I'm so glad you set EstherBot up! Do you want to tell Esther that you're talking to her bot? %[Tell her](postback:twitter)",
"TELL HER": "Let's tweet @ Esther so she knows you're setting a bot up. Here's a tweet that's ready to go: %[Tweet Esther](http://bit.ly/estherbot-tweet)",
"I LOVE YOU": "Awh, shucks! I love you too!",
"BOT": "Hi there!\nI’m the personal bot of Nikhil Dikshit, a full-stack developer from Jaipur, India.\n![esther](https://raw.githubusercontent.com/esthercrawford/smooch-bot-example/master/img/esther.jpg)\nWant to know more about Nikhil? %[Check him on LinkedIn](https://www.linkedin.com/in/nikhildikshit) %[View his resume](https://drive.google.com/file/d/0Bz1RpiPdp1C5aWJlNlNYTHpnRVU5ZHFhUVZfakpFR2Y1dUZr/view?usp=sharing) %[What is his contact number?]("8890461242")",
"HELLO": "Hey, I'm so glad you look forward to discussions! Do you want to tell Nikhil that you're talking to her bot? %[Tell her](postback:twitter)",
"TELL HER": "Let's tweet @ Nikhil so he knows you're setting a bot up. Here's a tweet that's ready to go: %[Tweet Esther](http://bit.ly/estherbot-tweet)",
"CONNECT ME": "",
"DISCONNECT": "Roger that, EstherBot is back."
"DISCONNECT": "Roger that, the bot is back."
}