smart-chatbot
v1.4.0
Published
Intelligent Chat Bot Api
Downloads
8
Maintainers
Readme
smart-chatbot
Javascript:
const chatbot = require("smart-chatbot");
const chatclient = new chatbot.Client({
secretkey: "SECRET KEY",
botname: "BOT NAME",
ownername: "OWNER NAME",
gender: "female", // (female/male)
birth: "https://csycraft.com",
location: "https://csybot.csycraft.com",
email: "[email protected]"
});
chatclient.chat({
message: "Hello",
user: "SECRET USER ID",
language: "tr" // (tr, en, pt) for more dm me
}).then(answer => console.log(answer));
Aoi.js & Dbd.js:
bot.command({
name: "$alwaysExecute",
code: `$djsEval[
const chatbot = require("smart-chatbot")
const chatclient = new chatbot.Client({
secretkey: "SECRET KEY",
botname: "BOT NAME",
ownername: "OWNER NAME",
gender: "female", // (female/male)
birth: "https://csycraft.com",
location: "https://csybot.csycraft.com",
email: "[email protected]"
});
let question = message.content.split(" ").slice(1).join(" ");
if(!question || String(question) == String([])) {
message.channel.send("❌ Please Message ❌");
} else {
chatclient.chat({
message: question,
user: message.author.id,
language: "tr" // (tr, en, pt) for more dm me
}).then(x => message.channel.send(x)).catch(err => message.channel.send("ERR API Problem!"));
}]
$onlyIf[$mentioned[1]==$clientID;]
`
});
Bdfd API (BDSCRPT 2):
$nomention
$botTyping
$try
$httpAddHeader[Authorization;SECRET_KEY]
$httpAddHeader[Version;1.3.0]
$httpAddHeader[using;bdfd]
$httpGet[https://api.csycraft.xyz/chatbot?user=$authorID&language=tr&botname=CsYBot&message=$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$message;ı;i];ö;o];ğ;g];ü;u];ç;c];ş;s]]
$httpResult[message]
$catch
Sorry I couldn't answer.
$endtry
$argsCheck[>1;Please Enter Message]
What is SECRET KEY?
For Secret Key Join Server: https://discord.gg/gkmwaAZQBu