https://github.com/isfakeaccount/submissionkarmamonitoringbot
SubmissionKarmaMonitoringBot
https://github.com/isfakeaccount/submissionkarmamonitoringbot
Last synced: over 1 year ago
JSON representation
SubmissionKarmaMonitoringBot
- Host: GitHub
- URL: https://github.com/isfakeaccount/submissionkarmamonitoringbot
- Owner: isFakeAccount
- Created: 2021-02-16T06:21:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T21:36:37.000Z (over 4 years ago)
- Last Synced: 2025-01-09T06:12:43.624Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SubmissionKarmaMonitoringBot
## Installing the Requirements
Before running the bots make sure the following requirements are fulfilled.
- Python Version <= 3.8
- Praw Version <= 7.4.0
To install all the python libraries run the following command
```terminal
pip install -r requirements.txt
```
## Configuring the bot
**Configuring the credentials:**
Put your client ID, secret, reddit account username and password in praw.ini file while looks like this
```editorconfig
[bot]
client_id=
client_secret=
password=
username=
```
It should look like this. DO NOT PUT VALUES IN DOUBLE/SINGLE QUOTES.
```editorconfig
[bot]
client_id=revokedpDQy3xZ
client_secret=revokedoqsMk5nHCJTHLrwgvHpr
password=invalidht4wd50gk
username=fakebot1
```
See the included template file (`template_praw.ini`), you may edit the file and rename it to `praw.ini`, and use it instead of creating file from scratch.
**Configuring the subreddit:**
Also, in main.py file put the subreddit you want to run this bot on. Put the name without r/
```python
subreddit = reddit.subreddit("subredditname") # put subreddit name here
```
Put the name without "r/". For example, if someone wants to run the bot on memes. They would write
```python
subreddit = reddit.subreddit("memes") # put subreddit name here
```