Socket
Book a DemoInstallSign in
Socket

clever-chat

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clever-chat

Easy to use NPM package for chatbots made by Sunny Development

8.0.1
latest
Source
npmnpm
Version published
Weekly downloads
70
3400%
Maintainers
3
Weekly downloads
 
Created
Source

Clever-Chat

Due to some security issues, I have not displayed the files. Will display on 10/8/2021.

F4pEry6

Downloads Npm version
  • Clever-Chat is a wrapper for a chatbot API that you can use to make a chatbot in node.js created by Sunny Development

What's New!

  • Added gender, developer name and user as an option!

  • Added TypeScipt Support!

Installation

npm i clever-chat

Example

  • Note: This is an just example code, you can edit it to make it more advanced.
// import the package
const Chat = require("clever-chat");
const chat = new Chat({ name: "Put Your Chatbot Name Here", gender: "Male", developer_name: "Put Your Name Here", user: "Put an ID here", language: "Put a language here" }); //all of these are REQUIRED

chat.chat('Hey! How are you!').then(reply => {
  console.log(reply)
})
// wait for the console to log the reply

TypeScript Example -

//import the package
const Chat = require("clever-chat");
const chat = new Chat({ name: "Put Your Chatbot Name Here", gender: "Male", developer_name: "Put Your Name Here", user: "Put an ID here", language: "Put a language here" }); //all of these are REQUIRED


chat.chat('Whats your sign?').then((reply: any) => {
  console.log(reply)
})
// wait for the console to log the reply

Information

  • If any bugs found, please report it in the Discord Server or Github.

  • A list for the options -

    ParameterTypeDescription
    namestringSets chatbot's name
    genderstringSets chatbot's gender
    developer_namestringSets chatbot's developer name
    userstringPut an ID here
    agestringSets chatbot's age
    birthdaystringSets chatbot's birthday
    birthplacestringSets chatbot's birthplace
    birthyearstringSets chatbot's birthyear
    religionstringSets chatbot's religion
    actorstringSets chatbot's favourite actor
    actressstringSets chatbot's favourite actress
    artiststringSets chatbot's favourite artist
    authorstringSets chatbot's favourite author
    bandstringSets chatbot's favourite band
    bookstringSets chatbot's favourite book
    colorstringSets chatbot's favourite colour
    foodstringSets chatbot's favourite food
    moviestringSets chatbot's favourite movie
    operastringSets chatbot's favourite opera
    seasonstringSets chatbot's favourite season
    showstringSets chatbot's favourite show
    songstringSets chatbot's favourite song
    sportstringSets chatbot's favourite sport
    subjectstringSets chatbot's favourite subject
    footballstringSets chatbot's favourite football team
    celebritystringSets chatbot's favourite celebrity
    chinesesignstringSets chatbot's chinese sign
    familystringSets chatbot's family
    ethicsstringSets chatbot's name
    etypestringSets chatbot's etype
    baseballstringSets chatbot's faovourite baseball team
    citystringSets chatbot's city
    statestringSets chatbot's state
    classstringSets chatbot's class
    countrystringSets chatbot's country
    companystringSets chatbot's company
    emailstringSets the chatbot's support email
    wechatstringSets chatbot's wechat
    wearstringSets chatbot's favourite cloth/wear
    vocabstringSets chatbot's number of vocabulary
    versionstringSets your chatbot's version/your bot's version
    totalclistringSets chatbot's total clients
    speciesstringSets chatbot's species
    signstringSets chatbot's sign
    scspeciesstringSets chatbot's species (chinese)
    scsignstringSets chatbot's sign (chinese)
    scnationalitystringSets chatbot's nationality (chinese)
    scmasterstringSets chatbot's master/owner/developer_name (chinese)
    scgenderstringSets chatbot's gender (chinese)
    scfavouritecolorstringSets chatbot's favourite color (chinese)
    scfavouritefoodstringSets chatbot's favourite food (chinese)
    sccountrystringSets chatbot's country (chinese)
    sccompanystringSets chatbot's company (chinese)
    sccitystringSets chatbot's city (chinese)
    scchinesesignstringSets chatbot's chinese sign (chinese)
    language2stringSets chatbot's language while chatting
    hockeystringSets chatbot's favourite hockey team
    jobstringSets chatbot's job
    musicstringSets chatbot's favourite music
    celebritiesstringSets chatbot's favourite celebrities/characters
    orientationstringSets chatbot's orientation
    phylumstringSets chatbot's phylum
    presidentstringSets chatbot's president

    Something missing? Found a bug/problem? Want to suggest something?? Make an issue/PR in the github repository!

Credits

  • Made by Sunny Development (Royal, Acê, and thecoolguy17)
  • Brainshop AI
  • Possible for translation because of google-translate-api. (Note = Latency/Ping might be high.)

Language List -

Name Of LanguageCode for Languages
Automaticauto
Afrikaansaf
Irishga
Albaniansq
Italianit
Arabicar
Japaneseja
Azerbaijaniaz
Kannadakn
Basqueeu
Koreanko
Bengalibn
Latinla
Belarusianbe
Latvianlv
Bulgarianbg
Lithuanianlt
Catalanca
Macedonianmk
Chinese Simplifiedzh-CN
Malayms
Chinese Traditionalzh-TW
Maltesemt
Croatianhr
Norwegianno
Czechcs
Persianfa
Danishda
Polishpl
Dutchnl
Portuguesept
Englishen
Romanianro
Esperantoeo
Russianru
Estonianet
Serbiansr
Filipinotl
Slovaksk
Finnishfi
Sloveniansl
Frenchfr
Spanishes
Galiciangl
Swahilisw
Georgianka
Swedishsv
Germande
Tamilta
Greekel
Telugute
Gujaratigu
Thaith
Haitian Creoleht
Turkishtr
Hebrewiw
Ukrainianuk
Hindihi
Urduur
Hungarianhu
Vietnamesevi
Icelandicis
Welshcy
Indonesianid
Yiddishyi

Support Server

~ Programmer's Haven

Github

~ Github

Keywords

quick.chat

FAQs

Package last updated on 09 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.