106 lines
2.7 KiB
Python
106 lines
2.7 KiB
Python
#!/usr/bin/env python3
|
|
|
|
#The client_id of the EventBot ass set in https://www.reddit.com/prefs/apps
|
|
eventBotClientId='helOP0151Te4ytmwHoG6jg'
|
|
#The client_secret of the EventBot ass set in https://www.reddit.com/prefs/apps
|
|
eventBotSecret='JbBOr8-FbgDc8-S2kD5NE4DdTqMddA'
|
|
#User chosen unique identifier for this agent.
|
|
user_agent='linux:Event-Bot by u/droid_tect v0.1'
|
|
#The user name to post under
|
|
username='NNYC-EventBot'
|
|
#The password of the user name to post under.
|
|
password='q}7Y~6f-xNzLdBt'
|
|
#The name of the Subreddit to carry out this event on
|
|
#subreddit_name="EventBotTestingGround"
|
|
subreddit_name="NoNutYearlyCommunity"
|
|
#The ID of the "Master Post" to keep track of the wishes
|
|
master_post_id="1pkmvbo"
|
|
#The ID of the Valentines Master Post to keep track of messages
|
|
valentines_post_id="1pkmvwh"
|
|
#Interval in seconds to check for new messages
|
|
check_interval=60
|
|
#Interval in seconds to update the dashboard if something changed
|
|
update_post_interval=300
|
|
|
|
comment_base_text="(Pinging in comment, as no more than 3 pings per post)\n\nYou got messages: u/{username}"
|
|
|
|
megathread_username="droid_tect"
|
|
megathread_password="lwwh1b-9gK-Ds_o"
|
|
|
|
# SAFETY NET: Lowercase words/phrases that trigger immediate rejection
|
|
# You can expand this list with specific slurs or harassment terms relevant to your community.
|
|
blocklist=[
|
|
# --- DIRECT THREATS & SELF-HARM ENCOURAGEMENT ---
|
|
"kill yourself",
|
|
"kys",
|
|
"hang yourself",
|
|
"drink bleach",
|
|
"hope you die",
|
|
"go die",
|
|
"suicide",
|
|
"commit suicide",
|
|
"die in a fire",
|
|
"cut yourself",
|
|
|
|
# --- COMMON HARASSMENT & INSULTS ---
|
|
# In an 18+ sub, you might tolerate "trashy", but these cross the line
|
|
"you are disgusting",
|
|
"you look disgusting",
|
|
"ugly",
|
|
"fat pig",
|
|
"whale",
|
|
"vomit",
|
|
"waste of space",
|
|
"waste of oxygen",
|
|
"nobody loves you",
|
|
"nobody likes you",
|
|
"incel",
|
|
"femcel",
|
|
"neckbeard",
|
|
"retard", # Ableist slur
|
|
"retarded",
|
|
|
|
# --- SERIOUS ACCUSATIONS (DRAMA/TROLLING) ---
|
|
"pedophile",
|
|
"pedo",
|
|
"groomer",
|
|
"rapist",
|
|
"scammer",
|
|
"animal abuser",
|
|
|
|
# --- HATE SPEECH & EXTREMISM ---
|
|
# (Please add specific racial/homophobic slurs from your AutoMod here)
|
|
"nazi",
|
|
"hitler",
|
|
"white power",
|
|
"white supremacy",
|
|
"black supremacy",
|
|
|
|
# --- SPAM & SCAMS ---
|
|
"bitcoin",
|
|
"crypto",
|
|
"giveaway",
|
|
"telegram",
|
|
"whatsapp",
|
|
"investment",
|
|
"forex",
|
|
"nft",
|
|
"wallet",
|
|
"cashapp",
|
|
"venmo",
|
|
"paypal",
|
|
"buy my",
|
|
"selling",
|
|
"discount",
|
|
"promo code",
|
|
"click here",
|
|
"check out my onlyfans", # Depending on if you allow self-promo in wishes
|
|
"subscribe to",
|
|
|
|
# --- DOXXING ---
|
|
"real name is",
|
|
"lives at",
|
|
"phone number",
|
|
"address is",
|
|
"ip address",
|
|
] |