diff --git a/tg/controllers.py b/tg/controllers.py index 665a513..f32440a 100644 --- a/tg/controllers.py +++ b/tg/controllers.py @@ -8,6 +8,7 @@ from tempfile import NamedTemporaryFile from typing import Any, Callable, Dict, List, Optional from telegram.utils import AsyncResult + from tg import config from tg.models import Model from tg.msg import MsgProxy diff --git a/tg/models.py b/tg/models.py index 2ca9690..de853ee 100644 --- a/tg/models.py +++ b/tg/models.py @@ -163,7 +163,7 @@ class Model: if chat_id is None: return False # order is matter: this should be before send_message - # otherwise it vill view message that was sent + # otherwise it will view message that was sent self.view_all_msgs() self.msgs.send_message(chat_id, text) return True