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

Text/Logo-Update #42

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
327306b
Update app.json
leitrim May 27, 2016
d18df18
Update script.json
leitrim May 27, 2016
56bf5f9
Update script.js
leitrim May 27, 2016
4e80481
Update app.json
leitrim May 27, 2016
8f05cf9
Update script.json
leitrim Jun 1, 2016
92a4887
Update index.hbs
leitrim Jun 1, 2016
34fb9a6
Update index.hbs
leitrim Jun 1, 2016
3e04eab
Update script.json
leitrim Jun 1, 2016
4119480
Update script.js
leitrim Jun 1, 2016
feb2760
Update script.js
leitrim Jun 1, 2016
e25ad70
Update script.js
leitrim Jun 1, 2016
b02c43b
Update script.js
leitrim Jun 1, 2016
ffc8cd7
Update script.js
leitrim Jun 1, 2016
36bd169
Update script.js
leitrim Jun 1, 2016
f6547af
Update script.json
leitrim Jun 1, 2016
33c3769
Update script.json
leitrim Jun 1, 2016
58096c6
Update script.json
leitrim Jun 1, 2016
64f73b0
Update script.json
leitrim Jun 1, 2016
32613d1
Update script.json
leitrim Jun 1, 2016
02c682f
Update script.json
leitrim Jun 1, 2016
28becdb
Update script.json
leitrim Jun 1, 2016
8729561
Update script.json
leitrim Jun 1, 2016
7be4329
Update script.json
leitrim Jun 1, 2016
26197a8
Update script.json
leitrim Jun 1, 2016
c0454da
Update script.json
leitrim Jun 1, 2016
86734f3
Update script.json
leitrim Jun 1, 2016
2daf349
Update index.hbs
leitrim Jun 1, 2016
068a404
Update index.hbs
leitrim Jun 1, 2016
11c19ad
Update index.hbs
leitrim Jun 1, 2016
f933fc7
Update script.json
leitrim Jun 1, 2016
3b293f8
Update script.json
leitrim Jun 1, 2016
97b7bf0
Update script.json
leitrim Jun 1, 2016
6f4098f
Update index.hbs
leitrim Jun 1, 2016
8fcf7e0
Update script.json
leitrim Jun 2, 2016
a0f2603
Update script.json
leitrim Jun 2, 2016
0bf2376
Update script.json
leitrim Jun 2, 2016
5d97e9a
Update script.json
leitrim Jun 7, 2016
c5b922b
Update script.json
leitrim Apr 9, 2017
8908aaf
Update script.json
leitrim Apr 9, 2017
06bf0a2
Update script.json
leitrim Apr 9, 2017
8bff972
Update script.json
leitrim Apr 9, 2017
44f4aa4
Update script.json
leitrim Apr 9, 2017
33aee36
Update index.hbs
leitrim Apr 9, 2017
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
14 changes: 7 additions & 7 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "Esther Bot",
"description": "Esther, bot.",
"keywords": ["esther", "bot", "express"],
"website": "https://estherbot.com",
"repository": "https://github.com/esthercrawford/smooch-bot-example",
"logo": "http://www.estherbot.com/wp-content/uploads/2016/03/EstherBot-photo.png",
"name": "Smooch Bot Example App",
"description": "Smooch Bot example using Express",
"keywords": ["smooch", "bot", "express"],
"website": "https://smooch.io",
"repository": "https://github.com/smooch/smooch-bot-example",
"logo": "https://node-js-sample.herokuapp.com/node.png",
"env": {
"SMOOCH_APP_TOKEN": {
"description": "Your Smooch app token which is used to initialize the web widget.",
Expand All @@ -19,4 +19,4 @@
"required": true
}
}
}
}
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 me, a ChatBot that Joe created? Just say HELLO to get started.')
.then(() => 'speak');
}
},
Expand Down Expand Up @@ -67,4 +67,4 @@ module.exports = new Script({
.then(processMessage);
}
}
});
});
13 changes: 9 additions & 4 deletions script.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
{
"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!",
"HI": "Hi there my friend! \nI’m the personal bot of Joe Mc Bride, \n![DDI](http://www.oceanwidemedia.com/images/logo_ib.png)\nWant to know more about bots or learn about Joe? %[I'm here for the bot](postback:BOT) %[Learn about Joe](postback:about_joe)",
"HELLO": "Hello my friend!\nI’m the personal bot of Joe Mc Bride, \n![DDI](http://www.ddiworld.com/DDI/media/site-images/logos/logo_ddi_resp_black_text.gif)\nWant to know more about bots or learn about Joe? %[I'm here for the bot](postback:BOT) %[Learn about Joe](postback:about_joe)",
"ARE YOU REAL": "Hey, who do you think your talking to. I'm the main bot around here, you know? Do you want to tell Joe that you're talking to his bot? %[Tell him](postback:twitter)",
"TELL HIM": "Okay, Let's tweet Joe @haon90 so he knows you're thinking of setting a bot up. Here's a tweet that's ready to go: %[Tweet Joe](http://bit.ly/1ZdhjuD)",
"I LIKE THIS": "Awh, shucks! I like you too!",
"HI IM RICH":"I was thinking that. You sure don't look poor to me :)",
"BOT": "I'm a T-Bot short and stout",
"I'M HERE FOR THE BOT":"Okay, Okay already. I think you made a bad chooice. Joe is much more interesting :) ",
"LEARN ABOUT JOE":"I asked Joe a serious of questions but you know I couldn’t understand what he said with his accent. Let’s just say he's amazing :)",
"CONNECT ME": "",
"DISCONNECT": "Roger that, EstherBot is back."
}
10 changes: 6 additions & 4 deletions views/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
Smooch.init({appToken: '{{appToken}}' });
</script>
</head>
<body>
<h2>SmoochBot Demo</h2>
</body>
</html>
<body><div class="container" style="
background-color: #000; color:#fff;
">Irelandsbeat</div>
<h2>Mc Bride's ChatBot </h2> Start chatting by clicking on "How can we help?" bottom right corner.<P>Here are a few things this bot understands</P>
<UL><li>Hi</li><li>Are you real</li><li>I Like This</li><li>Bot</li></UL></body>
</html>