event: force SNAPPY_QUOTES to be used on events
snappy: remove duplicate logicpull/79/head
parent
33bf870142
commit
c666653753
|
@ -56,14 +56,14 @@ def execute_snappy(post:Submission, v:User):
|
||||||
elif v.id == LAWLZ_ID:
|
elif v.id == LAWLZ_ID:
|
||||||
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!"
|
||||||
elif not SNAPPY_MARSEYS and not SNAPPY_QUOTES:
|
|
||||||
body = ""
|
|
||||||
elif post.sub == 'masterbaiters' and random.random() < 0.33:
|
elif post.sub == 'masterbaiters' and random.random() < 0.33:
|
||||||
body = "Can you people come up with any ideas that don't involve committing federal crimes"
|
body = "Can you people come up with any ideas that don't involve committing federal crimes"
|
||||||
else:
|
else:
|
||||||
if SNAPPY_MARSEYS and SNAPPY_QUOTES:
|
if SNAPPY_MARSEYS and SNAPPY_QUOTES:
|
||||||
if random.random() < 0.5: SNAPPY_CHOICES = SNAPPY_MARSEYS
|
if HOLIDAY_EVENT or random.random() > 0.5:
|
||||||
else: SNAPPY_CHOICES = SNAPPY_QUOTES
|
SNAPPY_CHOICES = SNAPPY_QUOTES
|
||||||
|
else:
|
||||||
|
SNAPPY_CHOICES = SNAPPY_MARSEYS
|
||||||
elif SNAPPY_MARSEYS: SNAPPY_CHOICES = SNAPPY_MARSEYS
|
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 = [""]
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
```
|
||||||
.-""-.
|
.-""-.
|
||||||
/,..___\
|
/,..___\
|
||||||
() {_____}
|
() {_____}
|
||||||
|
@ -6,3 +7,4 @@
|
||||||
{ `-' } Merry Fistmas!
|
{ `-' } Merry Fistmas!
|
||||||
{ }
|
{ }
|
||||||
`---'
|
`---'
|
||||||
|
```
|
Loading…
Reference in New Issue