https://github.com/kilicdev/smart-chatbot
Official smart-chatbot Package!
https://github.com/kilicdev/smart-chatbot
bot chatbot javascript nodejs npm-package
Last synced: 2 days ago
JSON representation
Official smart-chatbot Package!
- Host: GitHub
- URL: https://github.com/kilicdev/smart-chatbot
- Owner: kilicdev
- License: apache-2.0
- Created: 2021-12-13T23:20:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T17:21:54.000Z (over 2 years ago)
- Last Synced: 2026-05-14T09:35:28.903Z (about 2 months ago)
- Topics: bot, chatbot, javascript, nodejs, npm-package
- Language: JavaScript
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smart-chatbot
**Javascript:**
```js
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:**
```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):**
```txt
$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
