Skip to content

Commit a9f364b

Browse files
committed
feat: add python version to /estasvivo command to easily verify deployments
1 parent bde42d3 commit a9f364b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

bot_logic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ async def help_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
8080
await update.message.reply_text(message_text)
8181

8282

83+
import sys
84+
8385
async def estasvivo(update: Update, context: ContextTypes.DEFAULT_TYPE):
84-
await update.message.reply_text("Sí, estoy vivo.")
86+
await update.message.reply_text(f"Sí, estoy vivo y corriendo en Python {sys.version.split()[0]}")
8587

8688

8789
async def list_buttons(update: Update, context: ContextTypes.DEFAULT_TYPE, listable_type):

0 commit comments

Comments
 (0)