mirror of
https://gitlab.com/pancakes1234/wdiscordbotserver.git
synced 2025-06-16 07:14:21 -06:00
Edit update.py
This commit is contained in:
parent
7733363b70
commit
bd3410929b
@ -16,9 +16,9 @@ class GitUpdateCog(commands.Cog):
|
|||||||
await interaction.response.send_message("You do not have permission to run this command.", ephemeral=True)
|
await interaction.response.send_message("You do not have permission to run this command.", ephemeral=True)
|
||||||
return
|
return
|
||||||
await interaction.response.send_message("Initiating update. The bot will restart shortly...")
|
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"
|
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:
|
try:
|
||||||
if os.path.exists(target_dir):
|
if os.path.exists(target_dir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user