Create a script to launch the main program
Create a new main.py file that changes the directory and starts the Node.js bot. Replit-Commit-Author: Agent Replit-Commit-Session-Id: aed2e46d-25bb-4b73-81a1-bb9e8437c261 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 97fb09b4-de14-489d-b60b-e1356bd6c127 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/aed2e46d-25bb-4b73-81a1-bb9e8437c261/mYZvK75 Replit-Helium-Checkpoint-Created: true
This commit is contained in:
parent
9e2d94e661
commit
7df59620bc
1 changed files with 5 additions and 0 deletions
5
main.py
Normal file
5
main.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
os.chdir("aethex-bot")
|
||||
os.system("npm start")
|
||||
Loading…
Reference in a new issue