Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealLoneLee committed Sep 12, 2023
1 parent 7cf7a28 commit 5e0d59f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
json.dump(config, f)

# Make the initiate.sh script executable
os.system('chmod +x bot/initiate.sh')
os.system('chmod +x ./initiate.sh')

# Ask the user if they want to initiate the bot
initiate_bot = input("Do you wish to initiate the bot? (Y/N) ")
if initiate_bot.lower() == 'y':
os.system('cd bot && ./initiate.sh')
os.system('./initiate.sh')
else:
print("Understood. Skipping this step. (If you wish to initiate the bot run the initiate.sh script manually.)")

0 comments on commit 5e0d59f

Please sign in to comment.