Remove custom send_message() function

This commit is contained in:
Tulir Asokan
2018-06-24 00:03:13 +03:00
parent ad23445b69
commit b50558a37d
4 changed files with 36 additions and 66 deletions
+1 -2
View File
@@ -201,8 +201,7 @@ class Bot(AbstractUser):
async def handle_command(self, message: Message):
def reply(reply_text):
return self.client.send_message(message.to_id, reply_text, markdown=True,
reply_to=message.id)
return self.client.send_message(message.to_id, reply_text, reply_to=message.id)
text = message.message