Files
moeka-project/services/telegram-bot
Leohearts b34c397b8e fix, feat(telegram): fix typo, make chat_id unique (#99)
* 📝 doc(db): add database schema changes for chat_id
- update the schema to enforce unique constraints on chat_id
- added onConflictDoUpdate to handle duplicate entries

* 🔧 chore(telegram-bot): Rename embedding dimension variable
2025-03-26 17:10:54 +08:00
..
2025-03-24 02:09:35 +08:00
2025-03-24 02:09:35 +08:00
2025-03-24 16:20:55 +08:00
2025-03-24 02:09:35 +08:00
2025-03-24 02:09:35 +08:00

telegram-bot

Allow アイリ to talk to you and many other users in Telegram.

Getting started

Clone & install dependencies:

git clone git@github.com:moeru-ai/airi.git
pnpm i

Create a .env.local file:

cd services/telegram-bot
cp .env .env.local

Fill-in the following credentials as configurations:

DISCORD_TOKEN=''
DISCORD_BOT_CLIENT_ID=''

OPENAI_MODEL=''
OPENAI_API_KEY=''
OPENAI_API_BASE_URL=''

Start both DB and the bot:

docker compose up -d
pnpm run -F @proj-airi/telegram-bot start