df
This commit is contained in:
parent
66b04fb87e
commit
dc2b46a984
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,8 @@ CATBOX_KEY = environ.get("CATBOX_KEY").strip()
|
|||
|
||||
with open("snappy.txt", "r") as f: snappyquotes = f.read().split("{[para]}")
|
||||
|
||||
if site == 'pcmemes.net':
|
||||
snappyquotes = [x for x in snappyquotes if 'drama' not in x]
|
||||
|
||||
@app.post("/toggle_club/<pid>")
|
||||
@auth_required
|
||||
|
@ -866,7 +868,7 @@ def submit_post(v):
|
|||
new_post.comment_count = 1
|
||||
g.db.add(new_post)
|
||||
|
||||
if "rama" in request.host:
|
||||
if "rama" in request.host or "pcmemes.net" in request.host:
|
||||
if v.id == CARP_ID:
|
||||
if random.random() < 0.02: body = "i love you carp"
|
||||
else: body = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue