From e5ccafd069a15bda454cead76d628dbc1be2d1e2 Mon Sep 17 00:00:00 2001 From: Ashfaaq Rifath Date: Tue, 26 Apr 2022 12:15:23 +0530 Subject: [PATCH] Update casper.py --- casper.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/casper.py b/casper.py index 22c9493..12f8c23 100644 --- a/casper.py +++ b/casper.py @@ -284,21 +284,7 @@ def recognize(command): print(Fore.CYAN + "You're welcome, i'm happy to help sir") casper_speak(speak="you're welcome, i'm happy to help sir", voice=casper_voice) return - - elif "useless" in command: - print(Fore.RED + "Whatever, you're a pathetic excuse for a human.") - casper_speak(speak="whatever, you're a pathetic excuse for a human.", voice=casper_voice) - return - - elif "named after" in command: - casperIntro2 = "i was named after the cat of my developer, which was named after the famous, Casper the friendly ghost cartoon show." - print(Fore.GREEN + casperIntro2) - casper_speak(speak=casperIntro2, voice=casper_voice) - return - - elif "sri lanka" in command.lower(): - print(Fore.RED + "Sri lanka is a pathetic excuse for a country....sorry, island.") - casper_speak(speak="Sri lanka is a pathetic excuse for a country....sorry, island.", voice=casper_voice) + elif "knowledge" in command: print(Fore.YELLOW + "what do you want to know about?")