All you need is to make an "app" in reddit, and twitter and input these into the bot along with what subreddit you want. You can adjust the time the bot sleeps for and how many posts it looks throught by changing the time.sleep() and the (limit=YOUR NUMBER)