mirror of
https://github.com/uditkarode/bing-chat-telegram.git
synced 2025-12-14 00:52:56 +00:00
5aa21432eda3b44772bcf79bf1ec985da5dcaded
add a "." check for considering prompts
Bing Chat Telegram Bot
A Telegram bot that lets you interact with the Bing AI from chats that you allow in the config.
> To start using this project,
- Git clone and cd into cloned dir
- Run
yarn installto install the dependencies. - Create a
.envfile or set environment variables according to the reference file .env.example - Run
yarn devoryarn build && yarn startto start the bot.
> To start using this project using Docker,
>> on dev
- Git clone and cd into cloned dir
- Run
docker compose -f .build/docker-compose.yml buildto build the container. - Create a
.envfile or set environment variables according to the reference file.env.example - Run
docker compose up -dto start the bot. - Run
docker compose -f .build/docker-compose.yml pushto push container to registry.
>> on prod
- Create
docker-compose.ymlwith the content fromdocker-compose.ymlin repo. - Create
.envwith the required variables (see .env.example). - Run
docker compose up -dto start the bot.
> To enable Telegram command autocompletion,
- Press the
Edit Commandsbutton in your bot's menu on BotFather, and paste the following:
ai - send a message to Bing AI
variant - get or set the chat variant of the chat
help - get help on how to use the bot
newchat - clear the current conversation and start a new one
Languages
TypeScript
98.4%
Dockerfile
1.6%