Check if bot is still in chat at startup

This commit is contained in:
Tulir Asokan
2018-02-17 20:23:50 +02:00
parent 4673546b42
commit d7e40a86c6
3 changed files with 45 additions and 10 deletions
+1
View File
@@ -100,6 +100,7 @@ class BotChat(Base):
query = None
__tablename__ = "bot_chat"
id = Column(Integer, primary_key=True)
type = Column(String, nullable=False)
def init(db_session):