From 7a8de1fbe7af2bfadb950b8e791465fa61811672 Mon Sep 17 00:00:00 2001 From: Raiden Sakura Date: Fri, 22 Dec 2023 23:05:03 +0800 Subject: [PATCH] Update launch command --- .github/workflows/scripts/loadcheck.py | 2 +- README.md | 2 +- runtime.txt | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 runtime.txt diff --git a/.github/workflows/scripts/loadcheck.py b/.github/workflows/scripts/loadcheck.py index ff253162c1..b0ce4e866b 100644 --- a/.github/workflows/scripts/loadcheck.py +++ b/.github/workflows/scripts/loadcheck.py @@ -14,7 +14,7 @@ file = open("modmail.log", "w") proc = subprocess.Popen( - "poetry run bot.py", + "poetry run python bot.py", stdout=file, stderr=subprocess.STDOUT, shell=True, diff --git a/README.md b/README.md index 65c0317b1f..27ac438533 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ This guide assumes you have installed **git**, a **compatible Python version** a 5. Install the Python dependencies and run the bot ```console $ poetry install --no-root - $ poetry run bot.py + $ poetry run python bot.py ``` 7. [Optional] Load the logviewer plugin with `[p]plugin load raidensakura/modmail-plugins/logviewer@main` diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 119ff10234..0000000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.10.7