randydev commited on
Commit
f07f19b
Β·
verified Β·
1 Parent(s): 08c43d4
Files changed (1) hide show
  1. akn/utils/license_checker.py +1 -2
akn/utils/license_checker.py CHANGED
@@ -90,7 +90,6 @@ async def license_private_start_bot(app, assistant):
90
  app.start(),
91
  assistant.start()
92
  )
93
- await client_multi_bot()
94
  is_valid, reason = await validate_license(assistant)
95
  if not is_valid:
96
  LOGS.error(f"🚨 LICENSE FAILED: {reason}")
@@ -103,7 +102,7 @@ async def license_private_start_bot(app, assistant):
103
  return
104
 
105
  LOGS.info(f"βœ… Licensed Bot Active: @{assistant.me.username}")
106
-
107
  except Exception as e:
108
  LOGS.error(f"⚑ CRITICAL ERROR: {str(e)}")
109
  traceback.print_exc()
 
90
  app.start(),
91
  assistant.start()
92
  )
 
93
  is_valid, reason = await validate_license(assistant)
94
  if not is_valid:
95
  LOGS.error(f"🚨 LICENSE FAILED: {reason}")
 
102
  return
103
 
104
  LOGS.info(f"βœ… Licensed Bot Active: @{assistant.me.username}")
105
+ await client_multi_bot()
106
  except Exception as e:
107
  LOGS.error(f"⚑ CRITICAL ERROR: {str(e)}")
108
  traceback.print_exc()