1.1.0 • Published 2 years ago
kurwbot v1.1.0
Usage
import { Chatbot } from 'kurwbot';
const chatbot = new Chatbot({data: [{question: 'hi', answer: 'hello'}]});
console.log(await chatbot.reply('hi')); // hello
import { Chatbot } from 'kurwbot';
const chatbot = new Chatbot({data: [{question: 'hi', answer: 'hello'}]});
console.log(await chatbot.reply('hi')); // hello