diff --git a/bin_module.py b/bin_module.py index e738791..b0681ec 100644 --- a/bin_module.py +++ b/bin_module.py @@ -19,6 +19,7 @@ from os import remove import requests,random,re,io def imagebin(update: Update, context: CallbackContext) -> None: + context.bot.send_chat_action(chat_id=update.message.chat_id, action=telegram.ChatAction.TYPING) f=update.message.photo[0].get_file() f=f['file_path'] ext=f.split('.')[len(f.split('.'))-1] diff --git a/uptime_module.py b/uptime_module.py index 3c37b31..3a1414f 100644 --- a/uptime_module.py +++ b/uptime_module.py @@ -4,5 +4,6 @@ from telegram.ext import Updater, CallbackContext def uptime(update: Update,context: CallbackContext): """Uptime es un modulo solo compatible con linux que permite ver el tiempo desde que se encendio la pc""" + context.bot.send_chat_action(chat_id=update.message.chat_id, action=telegram.ChatAction.TYPING) update.message.reply_text(subprocess.check_output('uptime',shell=True,universal_newlines=True))