1.0.2 • Published 3 years ago
chatbot-indo v1.0.2
chatbot-indo
Sebuah chat bot yang menggunakan bahasa Indonesia!
Install The Package
npm i chatbot-indo
Example Usage
const chatbotIndo = require('chatbot-indo')
chatbotIndo.message('halo, apa kabar?') // message yang di sampaikan ke bot adalah berupa "halo, apa kabar?"
.then(console.log).catch(console.log) // response berupa JSON keluar di console
Example Response
{
"msg": "baik"
}
Events
- message (memberikan message kamu ke bot agar bot bisa merespon)
chatbotIndo.message('your message')