diff --git a/database.py b/database.py index fb2b3aae..fc0c0053 100644 --- a/database.py +++ b/database.py @@ -3,6 +3,7 @@ from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base import bcrypt + class NoUsersMatchingError(Exception): pass diff --git a/telegram.py b/telegram.py index cf9c2c7a..991e8ed8 100644 --- a/telegram.py +++ b/telegram.py @@ -346,6 +346,7 @@ class Message: """Reply to this message.""" await self.chat.send_message(bot, text, reply_to_message_id=self.msg_id, **params) + class ServiceMessage: def __init__(self, msg_type, extra=None): self.type = msg_type