add another rare carp response

pull/173/head
Aevann 2023-07-25 17:21:59 +03:00
parent 7acdba3d9f
commit f3da9df609
1 changed files with 2 additions and 6 deletions

View File

@ -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: