From 5fb5c36369dc62d62f3b58f927a6392474dd4e48 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 6 Sep 2019 15:10:25 +0300 Subject: [PATCH] fix morj command --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9c0b40b..15b23ee 100755 --- a/main.py +++ b/main.py @@ -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'))