Skip to content

A Reddit bot for copying linked Reddit content

License

Notifications You must be signed in to change notification settings

sofaworks/copy-kun

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

copy-kun

Copy-kun is a Reddit bot that monitors a subreddit for posts that link to other Reddit content and comments with a copy of that content.

Copy-kun features:

  • Automatically copy any reddit post or comment linked
  • For comments, build a full comment tree from the root post to the linked comment
  • Monitor content for edits and update copies with changes (displayed as a diff)
  • Optional: respond to summons (via username mention) to reply with a copy of a link's content
  • Optional: include boilerplate and/or taglines in a header or footer
  • Optional: forward messages received by the bot to another account

Requirements

Copy-kun depends on PRAW for reddit requests and peewee for database functionality

OAuth

To get your refresh token you will need to request it from the reddit site, read the praw oauth section and use thier Refresh Token Script

Setup

Edit copykun_sample.cfg and example.praw.ini with your bot's account details and options, and rename the files to "copykun.cfg" and "praw.ini" respectively.

About

A Reddit bot for copying linked Reddit content

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%