- Then run python main.py make sure you add necessary tokens to use it
- Enjoy happy coding.
Functions
Authentication: The client ID, client secret, user agent, username, and password are used by the bot to sign in to Reddit.
Targeted Subreddit: The bot only functions in the target_subreddit subreddit.
Actions the bot takes in relation to submissions include printing the submission's title and score, responding to it, and upvoting it.
Actions on Comments: The bot looks for comments within each submission and takes action on those that match. It determines whether the comment's author is the bot itself or someone on the ignore list and whether any of the predetermined keywords are there. It can respond to remarks that match.
The bot handles various issues, such as API exceptions and generic exceptions, that may happen while it is operating.
I hope you enjoy and join my discord server to ask any question.