Archived
feat(bot): add bot account ownership and balance
This commit is contained in:
@@ -27,7 +27,7 @@ async def stop_twofa_task(message_id: int) -> None:
|
||||
)
|
||||
|
||||
|
||||
async def auto_update_2fa(message, bot_name: str) -> None:
|
||||
async def auto_update_2fa(message, bot_name: str, account_id: int) -> None:
|
||||
last_code = None
|
||||
message_id = message.message_id
|
||||
logger.info(
|
||||
@@ -45,7 +45,7 @@ async def auto_update_2fa(message, bot_name: str) -> None:
|
||||
try:
|
||||
await message.edit_text(
|
||||
text,
|
||||
reply_markup=twofa_keyboard(bot_name, bool(confirmations)),
|
||||
reply_markup=twofa_keyboard(account_id, bool(confirmations)),
|
||||
)
|
||||
|
||||
last_code = code
|
||||
|
||||
Reference in New Issue
Block a user