Skip to content

Commit

Permalink
modified: lb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wish13yt committed Oct 19, 2024
1 parent 2230435 commit 53f346d
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ def cls():
print("For help, type help below.")
command = input("lb < ")
if (command == "fs"):
print("Welcome to freakysay, also known as FS.")
echo = input("freakysay < ")
print(echo)
print("This command is broken. Thanks for your patience! <3")
code()
# print("Welcome to freakysay, also known as FS.")
# echo = input("freakysay < ")
# print(echo)
if (command == "help"):
print("Welcome to LigmaBalls!")
print("Here are some commands you can use:")
print("fs")
print("Using fs will launch freakysay, so you can echo your words!")
print("Using fs will launch freakysay, so you can echo your words! (BROKEN)")
print("credits")
print("Using credits will show the people who helped make this!")
print("clear")
Expand All @@ -24,6 +26,8 @@ def cls():
print("This command prints a freakybob ASCII art thingymajig")
print("update")
print("Updates LigmaBalls")
print("greg")
print("Changes your wallpaper to Greg Heffley")
code()
if (command == "credits"):
print("Wish made the intial 1.0 version! He also made freakysay and the first version of help.")
Expand Down Expand Up @@ -64,4 +68,19 @@ def cls():
print('Failed to download file')
print("Bringing you back...")
code()
if (command == "greg"):
input("WARNING: THIS WILL REPLACE YOUR BACKGROUND WITH GREG HEFFLEY. IF YOU ARE NOT OKAY WITH THAT, CLOSE THIS PROGRAM. ")
url = 'https://github.com/Freakybob-Team/lb/blob/main/greg.bat?raw=true'
response = requests.get(url)
file_Path = 'update.py'

if response.status_code == 200:
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
exec(open('greg.bat').read())
else:
print('Failed to download file')
print("Bringing you back...")
code()
code()

0 comments on commit 53f346d

Please sign in to comment.