Aevann 2023-03-18 17:33:24 +02:00
parent 9c829b3869
commit 8f60bfbeaa
1 changed files with 3 additions and 3 deletions

View File

@ -63,12 +63,12 @@ def execute_snappy(post:Submission, v:User):
if random.random() < 0.5: body = "wow, this lawlzpost sucks!" if random.random() < 0.5: body = "wow, this lawlzpost sucks!"
else: body = "wow, a good lawlzpost for once!" else: body = "wow, a good lawlzpost for once!"
else: else:
if marseys_const and SNAPPY_QUOTES: if SNAPPY_MARSEYS and SNAPPY_QUOTES:
if IS_FISTMAS() or random.random() > 0.5: if IS_FISTMAS() or random.random() > 0.5:
SNAPPY_CHOICES = SNAPPY_QUOTES SNAPPY_CHOICES = SNAPPY_QUOTES
else: else:
SNAPPY_CHOICES = marseys_const SNAPPY_CHOICES = SNAPPY_MARSEYS
elif marseys_const: SNAPPY_CHOICES = marseys_const elif SNAPPY_MARSEYS: SNAPPY_CHOICES = SNAPPY_MARSEYS
elif SNAPPY_QUOTES: SNAPPY_CHOICES = SNAPPY_QUOTES elif SNAPPY_QUOTES: SNAPPY_CHOICES = SNAPPY_QUOTES
else: SNAPPY_CHOICES = [""] else: SNAPPY_CHOICES = [""]