Update bot.js to exclusively use DISCORD_BOT_TOKEN and update error messaging. Replit-Commit-Author: Agent Replit-Commit-Session-Id: e72fc1b7-94bd-4d6c-801f-cbac2fae245c Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 1d2d6a03-0a86-4bd5-b2fb-427d3825c601 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/e72fc1b7-94bd-4d6c-801f-cbac2fae245c/7DQc4BR Replit-Helium-Checkpoint-Created: true
56 lines
883 B
Text
56 lines
883 B
Text
entrypoint = "main.py"
|
|
modules = ["python-3.10", "nodejs-20", "postgresql-16"]
|
|
|
|
hidden = [".pythonlibs"]
|
|
|
|
[nix]
|
|
channel = "stable-23_05"
|
|
|
|
[deployment]
|
|
run = ["python", "main.py"]
|
|
deploymentTarget = "gce"
|
|
ignorePorts = true
|
|
|
|
[agent]
|
|
expertMode = true
|
|
|
|
[[ports]]
|
|
localPort = 5000
|
|
externalPort = 80
|
|
|
|
[[ports]]
|
|
localPort = 8080
|
|
externalPort = 8080
|
|
|
|
[[ports]]
|
|
localPort = 45993
|
|
externalPort = 3000
|
|
|
|
[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 = "1447339527885553828"
|