Spaces:
Running
Running
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()
|