Skip to content

Commit

Permalink
add update checks
Browse files Browse the repository at this point in the history
modified:   lb.py
new file:   version/104.txt
  • Loading branch information
wish13yt committed Oct 20, 2024
1 parent 2c05cae commit e609566
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 < ")
Expand Down
1 change: 1 addition & 0 deletions version/104.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
is out of date: NO

0 comments on commit e609566

Please sign in to comment.