-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelsbot.cfg.example
More file actions
32 lines (29 loc) · 1.13 KB
/
Copy pathelsbot.cfg.example
File metadata and controls
32 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ELSbot configuration file
#
# This file does not contain passwords. Username and password are set via environment variables, as this
# is written to run on heroku.
# Reddit Configuration
# version: version of the code, incriment this every time the code updates
# operator: username of the person running the bot - i.e. you
# user_agent: User agent reported by praw
# subreddit: Subreddit the bot scans
# bot_subreddit: Subreddit where users can report issues regarding your bot
# quote_wiki_page: wiki page with quotes to include with the snapshot links
[reddit]
client_id = OAuth_id
client_secret = OAuth_secret
redirect_uri = OAuth_uri
refresh_token = OAuth_token
subreddit = your_subreddit
bot_subreddit = sub_where_users_report_problems
quote_wiki_page = wiki_page_with_quotes
defeat_css = /r/annoying_css
# Database configuration
# This assumes and sqlite3 database.
#
# record_TTL_days: number of days the bot will keep track of submissions
# it's processed (used in maintenance)
# time_to_maintenance: seconds between database maintenance cycles
[database]
record_TTL_days = 60
time_to_maintenance = 3600