Добавлен файл requirements.txt и обновлен Dockerfile для установки зависимостей через него; добавлен файл pyproject.toml и README.md
All checks were successful
Deploy bot / build-deploy (push) Successful in 32s
All checks were successful
Deploy bot / build-deploy (push) Successful in 32s
This commit is contained in:
3
main.py
3
main.py
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user