Updates to docker configs

This commit is contained in:
2026-03-05 17:07:19 +00:00
parent 5af4311719
commit 5dc2098581
3 changed files with 107 additions and 55 deletions

View File

@@ -1,27 +1,36 @@
# Bot authentication and global settings
username = ""
password = ""
client_id = ""
client_secret = ""
user_agent = "Flair Timer Comment Bot"
#Subreddits
subreddit = "" # "INEEEEDIT" "Ofcoursethatsathing" "All"
flair_text = "Waiting for OP" # Case Sensitive
interval = 30 # How often should the bot scan the subreddit for these posts, in seconds. Higher = slower/less accurate/save resources, lower = faster/more accurate/use more resources.
hours = 48 # How many hours must the flair been on the post to send the notification
searchlimit = 600 # Max: 1000, this should only be limited to save on resources. The bot sorts by new and if it isn't catching posts that are being changed to the flair simply because they are too old (say the 301st post on the subreddit is changed to the flair) then increase this limit.
# Comment message to post on old posts
comment_message = ""
# Subreddit to monitor
subreddit = "" # e.g. "INEEEEDIT", "Ofcoursethatsathing", "All"
# Whether the bot should lock the post after posting the comment (True/False)
# Default is False to avoid accidental locking; set to True to enable locking.
lock_post = False
# How often should the bot scan the subreddit for these posts, in seconds
interval = 30
# Whether the distinguished comment should be stickied (True/False)
# Some subreddits may require `True` to keep moderator comments visible.
distinguish_sticky = False
# 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
# },
]