diff --git a/lb.py b/lb.py index e1d4685..fd8886e 100644 --- a/lb.py +++ b/lb.py @@ -7,6 +7,13 @@ def code(): def cls(): os.system('cls' if os.name=='nt' else 'clear') + chkurl = 'https://https://github.com/Freakybob-Team/lb/blob/main/version/104.txt' + chkresponse = requests.get(chkurl) + if chkresponse.status_code == 200: + code() + else: + print("WARNING: Your version is out of date.") + code() print("Welcome to LB, also known as LigmaBalls.") print("For help, type help below.") command = input("lb < ") diff --git a/version/104.txt b/version/104.txt new file mode 100644 index 0000000..9627f03 --- /dev/null +++ b/version/104.txt @@ -0,0 +1 @@ +is out of date: NO \ No newline at end of file