mirror of
https://github.com/uditkarode/bing-chat-telegram.git
synced 2025-02-22 09:12:21 +00:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# 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 install` to install the dependencies.
|
|
- Create a `.env` file or set environment variables according to the reference file [.env.example](https://github.com/uditkarode/bing-chat-telegram/blob/master/.env.example)
|
|
- Run `yarn dev` or `yarn build && yarn start` to start the bot.
|
|
|
|
**> To start using this project using Docker,**
|
|
- Obtain `docker-compose.yml` from this repository.
|
|
- Create `.env` with the required variables (see [.env.example](https://github.com/uditkarode/bing-chat-telegram/blob/master/.env.example)).
|
|
- Run `docker compose up -d` to start the bot.
|
|
|
|
**> To enable Telegram command autocompletion,**
|
|
|
|
- Press the `Edit Commands` button 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
|
|
```
|