fix morj command

master
bakatrouble 5 years ago
parent 2ee5d9fe6d
commit 5fb5c36369

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

Loading…
Cancel
Save