1.4.0 • Published 2 years ago

smart-chatbot v1.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

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: "brain@csycraft.com"
});

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: "brain@csycraft.com"
    });
    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

1.2.0

2 years ago

1.0.0

2 years ago

1.0.0-BETA

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.3

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago