Files
FlairTimerComment/config/config.py
2026-03-05 17:07:19 +00:00

37 lines
1.0 KiB
Python

# Bot authentication and global settings
username = ""
password = ""
client_id = ""
client_secret = ""
user_agent = "Flair Timer Comment Bot"
# Subreddit to monitor
subreddit = "" # e.g. "INEEEEDIT", "Ofcoursethatsathing", "All"
# How often should the bot scan the subreddit for these posts, in seconds
interval = 30
# Max posts to search (for performance)
searchlimit = 600
# Multiple flair time configs
# Each entry can have: flair_text, hours, comment_message, lock_post, distinguish_sticky
flair_times = [
{
"flair_text": "Waiting for OP", # Case Sensitive
"hours": 48, # How many hours must the flair been on the post to send the notification
"comment_message": "This post has had the 'Waiting for OP' flair for 48 hours.",
"lock_post": False,
"distinguish_sticky": False
},
# Add more configs as needed
# {
# "flair_text": "Needs Info",
# "hours": 24,
# "comment_message": "This post has had the 'Needs Info' flair for 24 hours.",
# "lock_post": True,
# "distinguish_sticky": True
# },
]