From f3da9df6098619c3c2acfdb3bd93908da2b13b6b Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 25 Jul 2023 17:21:59 +0300 Subject: [PATCH] add another rare carp response --- files/helpers/actions.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 060bb58bf..5c98fcf50 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -72,12 +72,8 @@ def execute_snappy(post:Post, v:User): g.db.add(vote) post.downvotes += 1 elif v.id == CARP_ID: - if random.random() < 0.02: - body = "i love you carp" - elif random.random() < 0.02: - body = "https://i.rdrama.net/images/16614707883108485.webp" - elif random.random() < 0.02: - body = "https://i.rdrama.net/images/1636916964YyM.webp" + if random.random() < 0.08: + body = random.choice(("i love you carp", "https://i.rdrama.net/images/16614707883108485.webp", "https://i.rdrama.net/images/1636916964YyM.webp", "https://youtube.com/watch?v=zRbQHTdsjuY")) elif IS_DKD(): body = ":#donkeykongfuckoffcarp:" else: