Commit f338e1be authored by Tammo Ronke's avatar Tammo Ronke

yay luis

parent 57a732b2
......@@ -42,7 +42,7 @@ server.post("/api/messages", connector.listen());
// Make sure you add code to validate these fields
const luisAppId = "e7fcc4d6-8558-431e-a697-5e96e57e8c2d";
const luisAPIKey = "6a06603bba3d407b833e918f0d587527";
const luisAPIKey = "8c724fa2d88943a9abe55c557e8ff743";
const luisAPIHostName =
process.env.LuisAPIHostName || "westus.api.cognitive.microsoft.com";
......
......@@ -2,7 +2,7 @@ var builder = require("botbuilder");
module.exports = [
(session, args, next) => {
if (session.userData.name === undefined) {
if (session.userData === {}) {
const msg = new builder.Message(session).addAttachment(
welcomeCard(session)
);
......
......@@ -22,7 +22,7 @@ const getImg = imgTopic => {
let res = request(
"GET",
`https://www.google.com/search?tbs=iar%3As&tbm=isch&sa=1&q=${escape(
element + " icon"
element
)}&oq=c%23`,
{
headers: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment