From 6fd09e2cd5e2ab9bd164a7e49c58cb5c09abab64 Mon Sep 17 00:00:00 2001 From: Spencer Comfort <109806759+GiddyGoatGaming@users.noreply.github.com> Date: Sun, 29 Jan 2023 00:04:09 -0500 Subject: [PATCH 1/2] Readme: update python to 3.11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not sure if I have to change python‘s version anywhere else but python 3.11 is quite a bit faster then 3.8 and thus, would be an update that is worth it --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d34baa..ff3a4ce 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ You need to install Python, that can be done [here](https://www.python.org) py -3 -m pip install -r requirements.txt # Unix - python3.8 -m pip install -r requirements.txt + python3.11 -m pip install -r requirements.txt ``` #### Or this can be done using android with unrooted Termux From 60f15473f5ffe1b042a2e8adc8b35d3b324ada01 Mon Sep 17 00:00:00 2001 From: Spencer Comfort <109806759+GiddyGoatGaming@users.noreply.github.com> Date: Sun, 29 Jan 2023 00:06:08 -0500 Subject: [PATCH 2/2] Update main.py --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index d7d89a9..3cb8d9e 100644 --- a/main.py +++ b/main.py @@ -25,21 +25,21 @@ except ImportError: # If it chould not be installed # Tell the user it has not been installed and how to install it input( - f"Module discord_webhook not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.8'} -m pip install discord_webhook'\nYou can ignore this error if you aren't going to use a webhook.\nPress enter to continue.") + f"Module discord_webhook not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.11'} -m pip install discord_webhook'\nYou can ignore this error if you aren't going to use a webhook.\nPress enter to continue.") USE_WEBHOOK = False try: # Setup try statement to catch the error import requests # Try to import requests except ImportError: # If it has not been installed # Tell the user it has not been installed and how to install it input( - f"Module requests not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.8'} -m pip install requests'\nPress enter to exit") + f"Module requests not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.11'} -m pip install requests'\nPress enter to exit") exit() # Exit the program try: # Setup try statement to catch the error import numpy # Try to import requests except ImportError: # If it has not been installed # Tell the user it has not been installed and how to install it input( - f"Module numpy not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.8'} -m pip install numpy'\nPress enter to exit") + f"Module numpy not installed, to install run '{'py -3' if os.name == 'nt' else 'python3.11'} -m pip install numpy'\nPress enter to exit") exit() # Exit the program # check if user is connected to internet