diff --git a/bot.py b/bot.py index 9e3613a..4424224 100644 --- a/bot.py +++ b/bot.py @@ -37,6 +37,8 @@ async def handle_text(update: Update, context: ContextTypes.DEFAULT_TYPE): bio.name = "output.txt" # must set filename await update.message.reply_document(document=InputFile(bio)) + return + if update.message.text.startswith("decode"): text = update.message.text.replace("decode", "") await context.bot.send_message(chat_id=update.effective_chat.id, text=decode_text(text))