CodeX - Dash and API Fixed
This commit is contained in:
18
bot/CodeX.py
18
bot/CodeX.py
@@ -1,3 +1,17 @@
|
||||
# ╔══════════════════════════════════════════════════════════════════╗
|
||||
# ║ ║
|
||||
# ║ ░█▀▀░█▀█░█▀▄░█▀▀░█░█ ░█▀▄░█▀▀░█░█░█▀▀ ║
|
||||
# ║ ░█░░░█░█░█░█░█▀▀░▄▀▄ ░█░█░█▀▀░▀▄▀░▀▀█ ║
|
||||
# ║ ░▀▀▀░▀▀▀░▀▀░░▀▀▀░▀░▀ ░▀▀░░▀▀▀░░▀░░▀▀▀ ║
|
||||
# ║ ║
|
||||
# ║ © 2026 CodeX Devs — All Rights Reserved ║
|
||||
# ║ ║
|
||||
# ║ discord ── https://discord.gg/codexdev ║
|
||||
# ║ youtube ── https://youtube.com/@CodeXDevs ║
|
||||
# ║ github ── https://github.com/RayExo ║
|
||||
# ║ ║
|
||||
# ╚══════════════════════════════════════════════════════════════════╝
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
# os.system("")
|
||||
@@ -320,6 +334,10 @@ def keep_alive():
|
||||
|
||||
keep_alive()
|
||||
|
||||
# --- ngrok HTTPS Tunnel (for Dashboard API) ---
|
||||
from utils.tunnel import start_tunnel
|
||||
start_tunnel()
|
||||
|
||||
# --- Main Bot Execution ---
|
||||
async def main():
|
||||
async with client:
|
||||
|
||||
Reference in New Issue
Block a user