diff --git a/lb.py b/lb.py index 8a5b648..e17dee0 100644 --- a/lb.py +++ b/lb.py @@ -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") @@ -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.") @@ -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()