forked from MarseyWorld/MarseyWorld
add snappy quote for DKD
parent
e3834f3fe3
commit
15a47082b5
|
@ -68,7 +68,7 @@ def execute_snappy(post:Submission, v:User):
|
||||||
else: body = "wow, a good lawlzpost for once!"
|
else: body = "wow, a good lawlzpost for once!"
|
||||||
else:
|
else:
|
||||||
if SNAPPY_MARSEYS and SNAPPY_QUOTES:
|
if SNAPPY_MARSEYS and SNAPPY_QUOTES:
|
||||||
if IS_FISTMAS() or random.random() > 0.5:
|
if IS_DKD() or IS_FISTMAS() or random.random() > 0.5:
|
||||||
SNAPPY_CHOICES = SNAPPY_QUOTES
|
SNAPPY_CHOICES = SNAPPY_QUOTES
|
||||||
else:
|
else:
|
||||||
SNAPPY_CHOICES = SNAPPY_MARSEYS
|
SNAPPY_CHOICES = SNAPPY_MARSEYS
|
||||||
|
|
|
@ -31,8 +31,12 @@ def _initialize_snappy_marseys_and_quotes():
|
||||||
global SNAPPY_MARSEYS, SNAPPY_QUOTES
|
global SNAPPY_MARSEYS, SNAPPY_QUOTES
|
||||||
SNAPPY_MARSEYS = [f':#{x}:' for x in marseys_const2]
|
SNAPPY_MARSEYS = [f':#{x}:' for x in marseys_const2]
|
||||||
|
|
||||||
|
if IS_DKD():
|
||||||
|
filename = f"snappy_DKD.txt"
|
||||||
|
elif IS_FISTMAS():
|
||||||
|
filename = f"snappy_fistmas_{SITE_NAME}.txt"
|
||||||
|
else:
|
||||||
filename = f"snappy_{SITE_NAME}.txt"
|
filename = f"snappy_{SITE_NAME}.txt"
|
||||||
if IS_FISTMAS(): filename = f"snappy_event_{SITE_NAME}.txt"
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(filename, "r", encoding="utf-8") as f:
|
with open(filename, "r", encoding="utf-8") as f:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
:donkeykongdance#: :donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#::donkeykongdance#:
|
Loading…
Reference in New Issue