+ Show agent and player name when set security pin
This commit is contained in:
parent
eaec6bd5a5
commit
ad85ec0bfc
@ -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}')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user