Commit b782efef authored by Tammo Ronke's avatar Tammo Ronke

a bit of tweaking

parent 88a0da4b
......@@ -7,12 +7,13 @@ module.exports = [
session.send(
"Give me a sec, \n\n I am currently looking through your history 😨"
);
setTimeout(() => next(), 100);
setTimeout(() => next(), 1000);
},
session => {
const hist = ["China", "Java", "Rustlang"];
const hist = ["China", "Java", "Rustlang", "goland", "car", "merkel"];
const msg = joinCard(session, hist, GSearch.getImgs(hist));
session.send(msg);
session.endDialog();
}
];
......
......@@ -8,7 +8,7 @@ const getImgs = imgTopics => {
let res = request(
"GET",
`https://www.google.com/search?tbs=iar%3As&tbm=isch&sa=1&q=${escape(
element + " icon"
element
)}`
);
......
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