Files
FlairTimerComment/config/config.py

28 lines
1.2 KiB
Python
Raw Permalink Normal View History

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
#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
2026-02-22 23:09:11 +00:00
comment_message = ""
2026-02-22 22:03:26 +00:00
# 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
# Whether the distinguished comment should be stickied (True/False)
# Some subreddits may require `True` to keep moderator comments visible.
distinguish_sticky = False