A reddit bot which replies to user's comments containing "ok reddit define x" with the definition of x.
This bot is akin to Google's "Google Now" software, present on many android devices today, where the user says "Ok Google, define word" and Google responds with the definition of the word in its possible numerous forms. OkReddit bot aims to reproduce this behavior on the popular website Reddit.
The assumptions here are that you have a working installation of Python 3 and are working in a Linux/UNIX command-line environment (the commands below are specified for such an environment).
If you are unfamiliar with Linux and would like to install a beginner distribution in order to run this bot continuously, check out the Ubuntu documentation or the Linux Mint documentation for good starter Linux distributions.
Also, check out the YouTube channel tutorialLinux for helpful videos on how to get started, comfortable, and fast when using Linux.
$ git clone https://github.com/seanpianka/OkReddit.git
$ cd OkReddit
$ pip install -r requirements.txt
$ python3 okreddit.py
At this step, you may want to use bash (or modify the okreddit.py script yourself) to run in a "while true; do" loop so that the script runs continuously. Use the following bash commands to do so:
while true; do python3 okreddit.py; done
This post on Reddit by /u/CorvetteCole was the inspiration for this project.