Basic memory function implemented
This commit is contained in:
@@ -3,9 +3,8 @@ from telegram.ext import Application
|
||||
import logging
|
||||
|
||||
import models
|
||||
from commands import journal, status
|
||||
from commands import journal, status, turtle, memory
|
||||
from commands.list import list
|
||||
from commands import turtle
|
||||
from cronjob import chat_photo
|
||||
|
||||
logging.basicConfig(
|
||||
@@ -30,6 +29,8 @@ def main() -> None:
|
||||
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(memory.MemoryHandler("memory", models).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))
|
||||
|
Reference in New Issue
Block a user