1
0
Fork 0
mirror of https://github.com/1disk/edp445.git synced 2024-08-14 22:47:02 +00:00
edp445/node_modules/cleverbot-free
2022-12-03 05:44:44 +00:00
..
.github/workflows Changed alot of things. 2022-12-03 05:44:44 +00:00
.eslintrc.json Changed alot of things. 2022-12-03 05:44:44 +00:00
example.js Changed alot of things. 2022-12-03 05:44:44 +00:00
index.d.ts Changed alot of things. 2022-12-03 05:44:44 +00:00
index.js Changed alot of things. 2022-12-03 05:44:44 +00:00
LICENSE Changed alot of things. 2022-12-03 05:44:44 +00:00
package.json Changed alot of things. 2022-12-03 05:44:44 +00:00
README.md Changed alot of things. 2022-12-03 05:44:44 +00:00
test.js Changed alot of things. 2022-12-03 05:44:44 +00:00

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