fix morj command
This commit is contained in:
parent
2ee5d9fe6d
commit
5fb5c36369
2
main.py
2
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'))
|
||||
|
Loading…
Reference in New Issue
Block a user