Files
moeka-project/services/telegram-bot/README.md
T
Neko de10f5ed8a feat(services/telegram): added bot (#8)
* feat: demo bot
* chore: update install
* refactor: rename
* refactor: adapt with new xsai
2025-01-15 22:45:55 +08:00

38 lines
558 B
Markdown

# `telegram-bot`
Allow アイリ to talk to you and many other users in Telegram.
## Getting started
Clone & install dependencies:
```shell
git clone git@github.com:moeru-ai/airi.git
pnpm i
```
Create a `.env.local` file:
```shell
cd services/telegram-bot
cp .env .env.local
```
Fill-in the following credentials as configurations:
```shell
DISCORD_TOKEN=''
DISCORD_BOT_CLIENT_ID=''
OPENAI_MODEL=''
OPENAI_API_KEY=''
OPENAI_API_BASE_URL=''
```
Start both DB and the bot:
```shell
docker compose up -d
pnpm run -F @proj-airi/telegram-bot start
```