From d08a1b0e820d2b0433a598d8340c645a44442200 Mon Sep 17 00:00:00 2001 From: Matt Arnold Date: Tue, 25 Feb 2025 05:34:10 -0500 Subject: adjust things so it's not as annoying --- client.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/client.py b/client.py index f0cd359..41d7333 100644 --- a/client.py +++ b/client.py @@ -45,17 +45,11 @@ def generate_response(person, message): horse_counter += 1 if horse_counter % 50 == 0: return "Ribbit, Frog on a horse, nobody knows where they'll go" - return "Ribbit, Frog on the floor where did she come from " + if horse_counter % 3 == 0: + return "Ribbit, Frog on the floor where did she come from " + return None if trigger_regex.match(msg.lower()): return "ribbit ribbit " - if "dozens" in person: - dice = random.randint(1, 20) - if dice <= 7: - return "watch it horse you almost clobbered me" - if "acdw" in person: - dice = random.randint(1, 12) - if dice == 1 or dice == 12: - return "I've been chilling in the basement for a minute" while True: -- cgit 1.4.1-2-gfad0