AntTargett/PythonRedditBot

First attempt at a reddit bot

★ 1Forks 0PythonGitHub ↗Compare

README

RedditBotPlayground

First attempt at a reddit bot :D Includes a script to read posts and a script to respond to posts

To run these scripts:

  1. pip install praw
  2. Create a praw.ini file
  3. Copy the contents of the praw.ini.template into the praw.ini
  4. Add the client secret, client id, username and password of your Reddit app in the praw.ini file

Useful Resources:

To create a Reddit app or get your app details,use this link, Reddit App Page

Link to Reddit Api docs

Properites of a 'submission' on Reddit
  • 'approve'
  • 'approved_by'
  • 'author'
  • 'domain'
  • 'downs'
  • 'downvote'
  • 'edit'
  • 'edited'
  • 'saved'
  • 'score'
  • 'secure_media'
  • 'secure_media_embed'
  • 'selftext'
  • 'selftext_html'
  • 'title'
  • 'ups'
  • 'upvote'
  • 'url'
  • 'user_reports'
  • 'visited'
  • 'vote'

Contributors

AntTargett

Issues