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):