@persian-caesar/chatbot
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

chatbot

A custom chat bot package free for all.

Example

const { Database, default: ChatBot } = require("@persian-caesar/chatbot");
const { QuickDB, JSONDriver } = require("quick.db");
const database = new Database(new QuickDB({ driver: new JSONDriver() }));
const chatBot = new ChatBot(database, "1");
const answer = chatBot.handleMessage("hello");
console.log(answer);

Contact

Package Sidebar

Install

npm i @persian-caesar/chatbot

Weekly Downloads

13

Version

0.0.3

License

MIT

Unpacked Size

38.2 kB

Total Files

21

Last publish

Collaborators

  • sobhan-srza