AeThex-Bot-Master/.replit
sirpiglr 90436b6c4e Enable automatic command registration and fix event listener for bot startup
Adjusted bot.js to use the 'ready' event instead of 'clientReady' and implemented automatic slash command registration upon startup.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: aed2e46d-25bb-4b73-81a1-bb9e8437c261
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 217d5b68-1b40-4732-95b4-1137cb7d5086
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/aed2e46d-25bb-4b73-81a1-bb9e8437c261/BBAQobO
Replit-Helium-Checkpoint-Created: true
2025-12-08 03:03:14 +00:00

67 lines
1.5 KiB
Text

entrypoint = "aethex-bot/bot.js"
modules = ["nodejs-20", "postgresql-16"]
hidden = [".pythonlibs"]
[nix]
channel = "stable-23_05"
[deployment]
run = ["sh", "-c", "cd aethex-bot && npm start"]
deploymentTarget = "vm"
ignorePorts = true
[agent]
expertMode = true
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 8080
externalPort = 8080
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "AeThex Unified Bot"
[[workflows.workflow]]
name = "AeThex Unified Bot"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "cd aethex-bot && npm start"
waitForPort = 8080
[workflows.workflow.metadata]
outputType = "console"
[userenv]
[userenv.shared]
DISCORD_CLIENT_ID = "578971245454950421"
VITE_API_BASE = "https://api.aethex.dev"
DISCORD_FEED_GUILD_ID = "515711457946632232"
DISCORD_FEED_CHANNEL_ID = "1425114041021497454"
DISCORD_MAIN_CHAT_CHANNELS = "1425114041021497454,1333138752096178288"
DISCORD_ANNOUNCEMENT_CHANNELS = "1420146350003327037"
DISCORD_FOUNDER_ROLE_ID = "639164120230264833"
DISCORD_ADMIN_ROLE_ID = "1426779633290055741"
HEALTH_PORT = "8080"
HUB_GUILD_ID = "515711457946632232"
LABS_GUILD_ID = "1275962459596783686"
GAMEFORGE_GUILD_ID = "1245619208805416970"
CORP_GUILD_ID = "373713073594302464"
FOUNDATION_GUILD_ID = "1338564560277344287"
WHITELISTED_USERS = "113472107526033408"
ALERT_CHANNEL_ID = "1435905356932055233"