-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpraw.ini.example
25 lines (21 loc) · 954 Bytes
/
praw.ini.example
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
[<PRAW_SITE>]
# API keys from registering the bot on Reddit
client_id=<client-id>
client_secret=<client-secret>
# User authentication to perform actions
username=<username>
password=<password>
# Bot configuration and user-agent
bot_name=<bot-name>
bot_username=%(bot_name)s
bot_version=<bot-version>
bot_author=<bot-author>
user_agent=script:%(bot_name)s:v%(bot_version)s (by /u/%(bot_author)s)
# Comment template to publish the subscribe/unsubscribe message links
bot_submission_comment_template=<bot-submission-comment-template>
bot_subscribe_message_template=<bot-subscribe-message-template>
bot_unsubscribe_message_template=<bot-unsubscribe-message-template>
# time at which we cut the comment counting for the day and start counting the following day (ISO format, tz-aware)
bot_comments_cutoff_time=<bot-comments-cutoff-time>
# comma-separated list of users to ignore when counting comments
bot_comments_blacklist=%(bot_username)s,AutoModerator