diff --git a/cm_telegram.py b/cm_telegram.py index f3f87b8..47d7988 100644 --- a/cm_telegram.py +++ b/cm_telegram.py @@ -45,9 +45,9 @@ async def set_security_handler(update: Update, context: ContextTypes.DEFAULT_TYP return await update.message.reply_text('Start Setting Security Pin ...') try: - bot.set_security_pin_api(context.args[0]) + result = bot.set_security_pin_api(context.args[0]) del bot - await update.message.reply_text('Security Pin Set Done!') + await update.message.reply_text(f"Done setting Security Pin for {result['f_username']} - {result['t_username']} !") except Exception as e: await update.message.reply_text(f'Error: {e}')