A Reddit bot which searches for and replies to comments containing small text (at least level 3 superscript)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
COPYING
README.md
config.json.example
readsSmallTextBot.py
testReadSmallTextBot.py

README.md

ReadsSmallTextBot

A Reddit bot which looks for comments containing at least level 3 superscript text (text with ^^^ before it) and replies with a full-sized version of that text.

Setup

This bot is built using Python2 and PRAW. To install PRAW via pip:

pip install praw

Before running the bot, you need to copy config.json.example to config.json and edit it with your desired Reddit account settings.

Config

The config file uses json syntax. It must be called config.json. Copy config.json.example for reference.

  • username - the Reddit account the bot should login with
  • password - the password for the account
  • subreddits - the subreddits the bot should operate in. Use "all" to have the bot search all subreddits. You can also use multi-reddits such as "test+botcirclejerk"

Running

To start the bot run:

python2 readsSmallTextBot.py

Note: on most systems, python2 is just called python

License

Just like PRAW, this code is released under the GNU GPLv3 (see COPYING)