fix morj command

This commit is contained in:
bakatrouble 2019-09-06 15:10:25 +03:00
parent 2ee5d9fe6d
commit 5fb5c36369

View File

@ -236,7 +236,7 @@ def users_list(bot: Bot, update: Update):
def morj(bot: Bot, update: Update):
text = update.effective_message.text[5:]
text = update.effective_message.text[6:]
fname = '/tmp/morj{}.png'.format(uuid4())
draw_morj(text, fname)
update.effective_message.reply_document(open(fname, 'rb'))