From bd3410929b1edb2efe28447face0ed3cfdcfd59d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=B6=E3=82=AB=E3=83=AA=E3=82=A2=E3=82=B9=E3=83=BB?= =?UTF-8?q?=E3=82=A6=E3=82=A3=E3=83=AA=E3=82=A2=E3=83=A0=E3=83=BB=E3=83=9D?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=BC?= <26689019-pancakes1234@users.noreply.gitlab.com> Date: Thu, 22 May 2025 07:44:01 +0900 Subject: [PATCH] Edit update.py --- cogs/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/update.py b/cogs/update.py index aaff472..fc7b198 100644 --- a/cogs/update.py +++ b/cogs/update.py @@ -16,9 +16,9 @@ class GitUpdateCog(commands.Cog): await interaction.response.send_message("You do not have permission to run this command.", ephemeral=True) return await interaction.response.send_message("Initiating update. The bot will restart shortly...") - target_dir = "./wdiscordbot-internal-server-aws" + 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 = "~/wdiscordbot-internal-server-aws/bot.py" try: if os.path.exists(target_dir):