Telegram AI Bot
A Telegram AI bot designed to understand and respond to user messages with artificial intelligence capabilities. It is powered by Herc.ai so ChatGPT.
- Clone this repo:
git clone https://github.com/Bes-js/TelegrAI
- Fill in the required values in the
.env
orsrc/config/settings.ts
file. - Run
npm install -D typescript
- Run
npm install -D ts-node
- Run
npm install
in the root folder - Run
npm run start
in the root folder or Runstart.bat
- Your bot is now ready for use.
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
Variable | Description | Type |
---|---|---|
telegramBotToken |
You can get your bot token from @BotFather on Telegram. | String |
hercaiApiKey |
There is a limit of 15 requests per minute in free use, you must make a one-time fee to make unlimited requests, you can purchase a one-time unlimited Hercai API Key from Hercai Shop, the fee is low. If Your API Key Doesn't Exist, Leave It Blank |
String |
eighteenPlusFilter |
If you want to filter +18 prompt, set it to true. (Default: false) | Boolean |
Fill in the .env
file, or you can perform the same operations via src/config/settings.ts
.
Apache License 2.0 - Click to Get Information About the License!