Created
May 5, 2022 18:02
-
-
Save sydrawat01/59e828343da12f007baaabe35d1c721c to your computer and use it in GitHub Desktop.
Format for the PRAW module in Python for the reddit bots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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 URL prefix for regular requests. | |
| reddit_url=https://www.reddit.com | |
| # The URL prefix for short URLs. | |
| short_url=https://redd.it | |
| [xyzzy]; botname | |
| client_id=<.....> | |
| client_secret=<.....> | |
| password=<.....> | |
| username=<.....> | |
| user_agent=<.....>; bot version, like randombot 0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment