diff --git a/README.md b/README.md index 255c2b1d08d3d3a0f785ef9fc166f0ade4c8119e..00ddb99c3cafba73445b2b289c67251b9552700f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ git push heroku master $ heroku ps:scale worker=1 ``` -The program will now run once every 15 seconds. You should also install the [Logentries addon](https://elements.heroku.com/addons/logentries) to notify yourself of errors or crashes. The standard pattern for error messages is ```Entering log protection mode.``` +The program will now run once every 15 seconds. You should also install a log retention service to notify yourself of errors or crashes. The standard pattern for error messages is ```Entering log protection mode.``` ## Forks and Contributing diff --git a/xkcd_alt.py b/xkcd_alt.py index e4dcf33b5dae61d9e25f61419fd1c0734c0be9a4..965ba760f70d45998588db472d548a27a73020bb 100644 --- a/xkcd_alt.py +++ b/xkcd_alt.py @@ -1,6 +1,6 @@ """This is the XKCD Alt Text Bot. -This bot checks once a minute for new Tweets from @xkcdComic. If one is found, it accesses the +This bot checks once every 15 seconds for new Tweets from @xkcdComic. If one is found, it accesses the linked comic, extracts the image alt text, and Tweets it as a reply.""" import time # Program sleeping @@ -228,6 +228,6 @@ while True: # Initialize main account loop else: # Successful Tweet del result - print('Sleeping for 15 seconds...') - time.sleep(15) + print('Sleeping for 60 seconds...') + time.sleep(60) continue \ No newline at end of file