Edit update.py

This commit is contained in:
ザカリアス・ウィリアム・ポージー 2025-05-24 20:29:28 +09:00
parent 1899d13ddf
commit 110a45d39a

View File

@ -18,7 +18,7 @@ class GitUpdateCog(commands.Cog):
await interaction.response.send_message("Initiating update. The bot will restart shortly...")
target_dir = "~/wdiscordbot-internal-server-aws"
repo_url = "https://gitlab.com/pancakes1234/wdiscordbot-internal-server-aws.git"
restart_script = "~/wdiscordbot-internal-server-aws/bot.py"
restart_script = "home/ubuntu/wdiscordbot-internal-server-aws/bot.py"
try:
if os.path.exists(target_dir):