mirror of
https://github.com/1disk/edp445.git
synced 2024-08-14 22:47:02 +00:00
.. | ||
.github/workflows | ||
.eslintrc.json | ||
example.js | ||
index.d.ts | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md | ||
test.js |
cleverbot-free
Simple unofficial package to interact with the same API that the Cleverbot website uses for free.
Please use the official Cleverbot API as the Cleverbot developers can easily break this package at any time.
Usage
const cleverbot = require("cleverbot-free");
// Without context
cleverbot("Hello.").then(response => /*...*/);
// With context
// Please note that context should include messages sent to Cleverbot as well as the responses
cleverbot("Bad.", ["Hi.", "How are you?"]).then(response => /*...*/);
Typings included