1.0.70 • Published 2 years ago
npm-smart-chat v1.0.70
Smart Chat
- Easy to use NPM package for chatbots made by Voxy Development.
Installation
npm i npm-smart-chat
Example
- Please keep in mind that the following code is just an illustrative example, and you are free to modify it to enhance its complexity.
const Chat = require("npm-smart-chat");
const chat = new Chat({ language: "Specify a language here", user: "Specify a user ID here" }); //REQUIRED
chat.chat('Hey! How are you!').then(reply => {
console.log(reply);
});
Information
- Should you encounter any bugs, kindly report them on the designated Discord Server.
Credits
- Created by Voxy Development (vapeuyy).
- Translation is feasible using the google-translate-api, but please be aware that there might be higher latency or ping times.
Language List
Name Of Language | Code for Language |
---|---|
Automatic | auto |
Afrikaans | af |
Irish | ga |
Albanian | sq |
Italian | it |
Arabic | ar |
Japanese | ja |
Azerbaijani | az |
Kannada | kn |
Basque | eu |
Korean | ko |
Bengali | bn |
Latin | la |
Belarusian | be |
Latvian | lv |
Bulgarian | bg |
Lithuanian | lt |
Catalan | ca |
Macedonian | mk |
Chinese Simplified | zh-CN |
Malay | ms |
Chinese Traditional | zh-TW |
Maltese | mt |
Croatian | hr |
Norwegian | no |
Czech | cs |
Persian | fa |
Danish | da |
Polish | pl |
Dutch | nl |
Portuguese | pt |
English | en |
Romanian | ro |
Esperanto | eo |
Russian | ru |
Estonian | et |
Serbian | sr |
Filipino | tl |
Slovak | sk |
Finnish | fi |
Slovenian | sl |
French | fr |
Spanish | es |
Galician | gl |
Swahili | sw |
Georgian | ka |
Swedish | sv |
German | de |
Tamil | ta |
Greek | el |
Telugu | te |
Gujarati | gu |
Thai | th |
Haitian Creole | ht |
Turkish | tr |
Hebrew | iw |
Ukrainian | uk |
Hindi | hi |
Urdu | ur |
Hungarian | hu |
Vietnamese | vi |
Icelandic | is |
Welsh | cy |
Indonesian | id |
Yiddish | yi |
Support Server
Github
~ Github