UNPKG

smartestchatbot

Version:

A very lightweight and simple artificial intelligence chatbot package with multiple language support!

163 lines (145 loc) 4.04 kB
<p align="center"><a href="https://nodei.co/npm/smartestchatbot/"><img src="https://nodei.co/npm/smartestchatbot.png"></a></p> <p align="center"><img src="https://img.shields.io/npm/v/smartestchatbot?style=for-the-badge"> <img src="https://img.shields.io/github/repo-size/Lebyy/smartestchatbot?style=for-the-badge"> <img src="https://img.shields.io/npm/l/smartestchatbot?style=for-the-badge"> <img src="https://img.shields.io/npm/dt/smartestchatbot?style=for-the-badge"> <img src="https://img.shields.io/github/contributors/Lebyy/smartestchatbot?style=for-the-badge"> <img src="https://img.shields.io/github/package-json/dependency-version/Lebyy/smartestchatbot/superagent?style=for-the-badge"> <a href="https://discord.gg/pndumb6J3t" target="_blank"> <img alt="Discord" src="https://img.shields.io/badge/Chat-Click%20here-7289d9?style=for-the-badge&logo=discord"> </a></p> # SmartestChatBot SmartestChatBot is a quick way to easily make your own Chat Bot which can reply in multiple languages! This package is just for Entertainment Purpose. # ### ❔ [Support](https://discord.gg/pndumb6J3t) ### 📂 [NPM](https://npmjs.com/smartestchatbot) ### 📝 [Example Discord Bot](https://github.com/Lebyy/SmartestChatBot-Example) # # ## ❓ How to obtain an API Token? > **You can visit [api.lebyy.me/dashboard](https://api.lebyy.me/dashboard) to obtain an API Token.** # # Quick Example **Javascript:** ```js // Importing The Package const smartestchatbot = require('smartestchatbot'); const client = new smartestchatbot.Client("API_TOKEN"); client.chat({message:"Hello, How are you?", name:"SmartestChatbot", owner:"CoolOwnerName", user: CoolUniqueUserId-In-NumberType}, "CoolLanguage").then(reply => { console.log(reply); // The module will reply based on the message! }); ``` **Typescript supported! Example: (Coming Soon!)** # > # A clean and tidy list of the currently supported languages: **Language Name**|**Language Code** :-----:|:-----: Automatic|auto Afrikaans|af Albanian|sq Amharic|am Arabic|ar Armenian|hy Azerbaijani|az Basque|eu Belarusian|be Bengali|bn Bosnian|bs Bulgarian|bg Catalan|ca Cebuano|ceb Chichewa|ny Chinese (Simplified)|zh Chinese (Simplified)|zh-cn Chinese (Traditional)|zh-tw Corsican|co Croatian|hr Czech|cs Danish|da Dutch|nl English|en Esperanto|eo Estonian|et Filipino|tl Finnish|fi French|fr Frisian|fy Galician|gl Georgian|ka German|de Greek|el Gujarati|gu Haitian Creole|ht Hausa|ha Hawaiian|haw Hebrew|he Hebrew|iw Hindi|hi Hmong|hmn Hungarian|hu Icelandic|is Igbo|ig Indonesian|id Irish|ga Italian|it Japanese|ja Javanese|jw Kannada|kn Kazakh|kk Khmer|km Korean|ko Kurdish (Kurmanji)|ku Kyrgyz|ky Lao|lo Latin|la Latvian|lv Lithuanian|lt Luxembourgish|lb Macedonian|mk Malagasy|mg Malay|ms Malayalam|ml Maltese|mt Maori|mi Marathi|mr Mongolian|mn Myanmar (Burmese)|my Nepali|ne Norwegian|no Pashto|ps Persian|fa Polish|pl Portuguese|pt Punjabi|pa Romanian|ro Russian|ru Samoan|sm Scots Gaelic|gd Serbian|sr Sesotho|st Shona|sn Sindhi|sd Sinhala|si Slovak|sk Slovenian|sl Somali|so Spanish|es Sundanese|su Swahili|sw Swedish|sv Tajik|tg Tamil|ta Telugu|te Thai|th Turkish|tr Ukrainian|uk Urdu|ur Uzbek|uz Vietnamese|vi Welsh|cy Xhosa|xh Yiddish|yi Yoruba|yo Zulu|zu # Credits Made by Lebyy_Dev. # Enjoying SmartestChatBot? Consider donating! <a href="https://www.buymeacoffee.com/lebyydev" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a> <a href='https://ko-fi.com/N4N04B26C' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://cdn.ko-fi.com/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a> Thanks 😊