Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 536 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 536 Bytes

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({
    name: '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!'
} */