GithubHelp home page GithubHelp logo

patmulvihill / reddit_mention_bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.97 MB

A reddit bot that private messages you when you have been mentioned in a comment. [Python using PRAW]

Python 100.00%

reddit_mention_bot's Introduction

###Reddit Mention Bot

This Reddit Mention Bot will parse through comments in user-defined subreddits to check if the searched_username you define in the config.py file has been mentioned using Reddit.com's '/u/' + config.searched_username format. In order to use this bot, you must clone it, install pip and install PRAW using pip install praw. You also have to rename config.py.example to config.py and edit the variables in that file to your liking. You must then create a new reddit account, register an application at https://ssl.reddit.com/prefs/apps and place the app's credentials (username, password, client_id, client_secret) in the config.py folder. You can define the amount of submissions that the bot parses in each iteration (lim), the subreddits the bot checks for your username in (subs), and the amount of time that your bot sleeps between each iteration (sleep_time) in the config.py file.
This bot will also create a comments_replied_to.txt file in the installation directory that keeps track of the comment ID's of comments that the bot has already handled. The bot will not respond to itself and is case insensitive.

reddit_mention_bot's People

Watchers

James Cloos avatar Patrick Mulvihill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.