Skip to content

jordanlevy96/reddit-ectbot

Repository files navigation

ECT Bot

Overview

A reddit bot that (politely) corrects people who write "ect" instead of "etc" in comments. Like many other reddit bots, this relies on PRAW, the Python Reddit API Wrapper.

I parse through /r/all's comments using PRAW.Subreddit.comments, check them against a regex for the dreaded "ect," and attempt to educate them about their mistake in a response comment.

Acknowledgements

Reddit is of course the source of all of the content.

PRAW, mentioned above, is a critical Python package that makes this all doable.

GitHub user dmarx created a valuable example of a reddit bot that this is loosely based on.

The Python For Engineers Reddit bot tutorial was also a good resource for learning how to write this (and is more up-to-date than the example above).

TODOs

  • send myself an email if ectbot goes down
  • create option to ignore certain users
  • ignore "ect bot" and variations

About

A stupid bot to play with the Reddit API for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages