smart-botto
v1.1.1
Published
Smart Chatbot based onhttps://express-is-fun.herokuapp.com
Downloads
2
Maintainers
Readme
SMART BOTTO
Smart(est) chatbot Based on EIF APIs
Installation
> npm i smart-botto
Usage
const { Bot } = require('smart-botto')
//import { Bot } from 'smart-botto'
const chatbot = new Bot('Emilia') //Name of the bot
chatbot.chat({
message: 'Hey', //message to pass to chatbot,
user: 'USERID' //ID of the user to keep track of the convo
})
.then((res) => console.log(res))
/* {
message: 'Hey',
response: 'Hi there!'
} */