1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Best commit IT

This commit is contained in:
Steffo 2017-03-10 11:59:00 +01:00
parent 2c11a0dcb0
commit 998360d593
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
import bcrypt
class NoUsersMatchingError(Exception):
pass

View file

@ -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