bing-chat-telegram/README.md

26 lines
915 B
Markdown
Raw Normal View History

# 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.
**> To start using this project,**
2023-04-08 10:17:49 +05:30
2023-04-09 19:25:14 +05:30
- Run `yarn install` to install the dependencies.
- Create a `.env` file or set environment variables according to the reference file `.env.example`
- Run `yarn dev` or `yarn build && yarn start` to start the bot.
2023-04-08 22:22:36 +05:30
**> To start using this project using Docker,**
2023-04-08 16:08:49 +05:00
2023-04-09 19:25:14 +05:30
- Run `docker compose -f .build/docker-compose.yml build` to build the container
2023-04-09 20:29:08 +05:00
- Create a `.env` file or set environment variables according to the reference file `.env.example`
2023-04-09 19:25:14 +05:30
- Run `docker compose up -d` to start the bot.
2023-04-08 16:08:49 +05:00
**> To enable Telegram command autocompletion,**
2023-04-09 19:25:14 +05:30
- 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
help - get help on how to use the bot
```