Commits

Anonymous committed c07bafc

Now you have to create your own comofas_credentials with your password. Updated README too

Comments (0)

Files changed (4)

 Hi,
 
-You, fellow developer, might want to run comofas2.py and test.py
+You, fellow developer, might want to copy comofas_credentials_example.py to comofas_credentials.py, filling in the values you know will work.
 
-comofas2.py creates a Comofas class and its purpose is to provide an (proper/funny,weird) answer for all questions
-tagged by the word comofas posted as tweets in Twitter website.
+Then you may try to run comofas2.py and test.py
+
+comofas2.py creates a Comofas class and its purpose is to provide an (proper/funny,weird) answer for all questions tagged by the word comofas posted as tweets in Twitter website.
+
+For the bot to work, you need to leave it running somewhere. It fetches a feed from search.twitter.com periodically and tries to answer the questions.
+
 
 Please visit:
 
 []s
 lhonda
 
-
-
-Pedro, please rewrite this README. I'm not good @ it.
 class Comofas(object):
     """
     Esta classe pretende cumprir a nobre missao de responder
-    a todos os usuarios... Pedro... reescreva este docstring...
-    nao tenho skill p/ descricoes inspiradoras
+    a todos os usuarios
     """
     def __init__(self,twitter_connection=None,answers_connection=None):
         """

comofas_credentials.py

-twitter_username = 'fasassim'
-twitter_password = 'abc123'
-
-answers_appid='GwZLVv32'

comofas_credentials_example.py

+"""
+    Thease are placeholders values and obviously won't work.
+    Copy this file to comofas_credentials.py ad fill in your own twitter username and password to host the bot.    
+"""
+
+twitter_username = 'fasassim'
+twitter_password = 'abc123'
+
+answers_appid='GwZLVv32'