/techmodnotify-reddit-bot

This is a bot for http://www.reddit.com, meant to automatically alert a user if he / she has not flaired their submission.

Primary LanguagePythonMIT LicenseMIT

techmodnotify

This is a bot for reddit, meant to automatically alert a user if he / she has not flaired their submission.

This bot was created for /r/technology

Installation

Download this repo.

Start up a mySQL server and create the following table structure:

+--------------+-----------------+------+-----+---------------------+-----------------------------+
| Field        | Type            | Null | Key | Default             | Extra                       |
+--------------+-----------------+------+-----+---------------------+-----------------------------+
| id           | int(6) unsigned | NO   | PRI | NULL                | auto_increment              |
| submissionID | varchar(20)     | NO   |     | NULL                |                             |
| currentTime  | timestamp       | NO   |     | CURRENT_TIMESTAMP   | on update CURRENT_TIMESTAMP |
| replyTime    | timestamp       | NO   |     | 0000-00-00 00:00:00 |                             |
| permalink    | varchar(255)    | NO   |     | NULL                |                             |
| author       | varchar(255)    | NO   |     | NULL                |                             |
+--------------+-----------------+------+-----+---------------------+-----------------------------+

Basic usage

Change the config file to your proper credentials

Run: python techmodnotify.py

License

MIT