Skip to content

Instantly share code, notes, and snippets.

@fanbyprinciple
Last active January 19, 2022 17:27
Show Gist options
  • Save fanbyprinciple/0abc32544a5fa3699bf024118e4a0bc1 to your computer and use it in GitHub Desktop.
Save fanbyprinciple/0abc32544a5fa3699bf024118e4a0bc1 to your computer and use it in GitHub Desktop.
praw_ini_sample_file.txt
[DEFAULT]
# A boolean to indicate whether or not to check for package updates.
check_for_updates=True
# Object to kind mappings
comment_kind=t1
message_kind=t4
redditor_kind=t2
submission_kind=t3
subreddit_kind=t5
trophy_kind=t6
# The URL prefix for OAuth-related requests.
oauth_url=https://oauth.reddit.com
# The amount of seconds of ratelimit to sleep for upon encountering a specific type of 429 error.
ratelimit_seconds=5
# The URL prefix for regular requests.
reddit_url=https://www.reddit.com
# The URL prefix for short URLs.
short_url=https://redd.it
# The timeout for requests to Reddit in number of seconds
timeout=16
[brevity_bot]
client_id=
client_secret=
password=
username=
user_agent=PyEng Bot 0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment