Skip to content

A reddit bot which replies to user's comments containing "ok reddit define x" with the definition of x.

Notifications You must be signed in to change notification settings

seanpianka/OkReddit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OkReddit

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.

Example usage of Google's service:

Example usage of OkReddit:

Instructions

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).

New to Linux?

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.

Installation on a working copy of Linux or OS X.

$ 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

Inspiration

This post on Reddit by /u/CorvetteCole was the inspiration for this project.

About

A reddit bot which replies to user's comments containing "ok reddit define x" with the definition of x.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages