2023-04-14 15:58:30 +05:30
2023-04-14 15:51:07 +05:30
2023-04-14 15:51:07 +05:30
2023-04-08 10:17:49 +05:30
2023-04-09 21:07:48 +05:00
2023-04-09 21:25:15 +05:30
2023-04-14 15:58:30 +05:30
2023-04-08 11:27:54 +05:30
2023-04-09 21:14:56 +05:30

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
  • Run yarn dev or yarn build && yarn start to 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 build to build the container.
  • Create a .env file or set environment variables according to the reference file .env.example
  • Run docker compose up -d to start the bot.
  • Run docker compose -f .build/docker-compose.yml push to push container to registry.
>> on prod
  • Create docker-compose.yml with the content from docker-compose.yml in repo.
  • Create .env with the required variables (see .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 prompt to the AI
variant - get or set the variant of the chat
help - get help on how to use the bot
Description
A Telegram bot that lets you interact with the Bing Chat AI.
Readme 90 KiB
Languages
TypeScript 98.4%
Dockerfile 1.6%