1.1.1 • Published 3 years ago

smart-botto v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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!'
} */