Добавлен файл requirements.txt и обновлен Dockerfile для установки зависимостей через него; добавлен файл pyproject.toml и README.md
All checks were successful
Deploy bot / build-deploy (push) Successful in 32s

This commit is contained in:
Dmitry
2025-11-29 00:03:21 +03:00
parent 6b5098cae5
commit d403395c9d
6 changed files with 199 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ from trilium_py.client import ETAPI
load_dotenv()
# test
TELEGRAM_TOKEN = os.getenv("TELEGRAM_TOKEN")
TRILIUM_URL = os.getenv("TRILIUM_URL")
@@ -42,7 +41,7 @@ async def handler(msg: Message):
parentNoteId=INBOX_NOTE_ID, title=title, content=content, type="text"
)
await msg.answer("Заметка сохранена в Trilium. Сто пудов!")
await msg.answer("Заметка сохранена в Trilium.")
async def main():