Files
FlairTimerComment/config/config.py

37 lines
1.0 KiB
Python
Raw Normal View History

2026-03-05 17:07:19 +00:00
# Bot authentication and global settings
2026-02-22 21:36:36 +00:00
username = ""
password = ""
client_id = ""
client_secret = ""
2026-02-22 23:08:17 +00:00
user_agent = "Flair Timer Comment Bot"
2026-02-22 21:36:36 +00:00
2026-03-05 17:07:19 +00:00
# Subreddit to monitor
subreddit = "" # e.g. "INEEEEDIT", "Ofcoursethatsathing", "All"
# How often should the bot scan the subreddit for these posts, in seconds
interval = 30
2026-02-22 22:03:26 +00:00
2026-03-05 17:07:19 +00:00
# Max posts to search (for performance)
searchlimit = 600
2026-03-05 17:07:19 +00:00
# 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
# },
]