Skip to content

Synthesized-Infinity/smart-botto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published