2023-04-08 10:30:33 +05:30
|
|
|
# Bing Chat Telegram Bot
|
2023-04-08 10:17:49 +05:30
|
|
|
|
|
|
|
A Telegram bot that lets you interact with the Bing AI from chats that you allow in the config.
|
|
|
|
|
2023-04-08 10:30:33 +05:30
|
|
|
**> To start using this project,**
|
2023-04-08 10:17:49 +05:30
|
|
|
|
2023-04-08 10:21:02 +05:30
|
|
|
* Run `yarn install` to install the dependencies.
|
|
|
|
* Copy `variables.example.ts` to `variables.ts`, go through it, and add the required information.
|
|
|
|
* Run `yarn dev` or `yarn build && yarn start` to start the bot.
|
2023-04-08 10:30:33 +05:30
|
|
|
|
|
|
|
**> To enable Telegram command autocompletion,**
|
|
|
|
* Press the `Edit Commands` button in your bot's menu on BotFather, and paste the following:
|
|
|
|
```
|
2023-04-08 11:13:25 +05:30
|
|
|
ai - send a prompt to the AI
|
|
|
|
variant - get or set the variant of the chat
|
2023-04-08 10:30:33 +05:30
|
|
|
help - get help on how to use the bot
|
|
|
|
```
|