implemented turtle hello

This commit is contained in:
Lia Schöneweiß
2023-05-04 23:19:29 +02:00
parent e7281da9a2
commit b1525ed5c3
2 changed files with 25 additions and 2 deletions

View File

@@ -5,7 +5,9 @@ import logging
import models
from commands import journal, status
from commands.list import list
from commands import turtle
from cronjob import chat_photo
logging.basicConfig(
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
level=logging.INFO
@@ -27,6 +29,7 @@ def main() -> None:
application.add_handler(journal.JournalHandler("journal", models).handler)
application.add_handler(list.ListHandler("list", models).handler)
application.add_handler(status.StatusHandler("status", models).handler)
application.add_handler(turtle.TurtleHandler().handler)
# application.add_handler(CommandHandler("help", help_command))
# on non command i.e message - echo the message on Telegram
# application.add_handler(InlineQueryHandler(inline_query))