summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Arnold2025-02-25 05:34:10 -0500
committerMatt Arnold2025-02-25 05:34:10 -0500
commitd08a1b0e820d2b0433a598d8340c645a44442200 (patch)
tree2981da98238f52230f557662e52ef9b7ce446e08
parentc45ff99ac8b44c5f492167425db7ce5f6e83d0b8 (diff)
adjust things so it's not as annoyingHEADmaster
-rw-r--r--client.py12
1 files 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: