What a mess
This commit is contained in:
@@ -98,7 +98,7 @@ def restart_bot():
|
||||
|
||||
# Try to restart the bot container
|
||||
result = subprocess.run(
|
||||
['docker', 'restart', 'echoes_of_the_ashes_bot'],
|
||||
['docker', 'restart', 'echoes_of_the_ashes_api'],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=30
|
||||
@@ -149,7 +149,7 @@ def get_bot_logs():
|
||||
|
||||
# Get logs from the bot container
|
||||
result = subprocess.run(
|
||||
['docker', 'logs', 'echoes_of_the_ashes_bot', '--tail', str(lines)],
|
||||
['docker', 'logs', 'echoes_of_the_ashes_api', '--tail', str(lines)],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=10
|
||||
|
||||
Reference in New Issue
Block a user