Open mrkrmr opened 3 years ago
Hey, sorry. The file it is looking for is secret_messenter.py which is what I named the file on my local machine that contains my Twilio api keys. To get it working do the following: 1) in the bestbuy.py file change the line "from . import secret_messenger as msg" to "from . import messenger.py as msg" 2) Now, if you want text messages when the bot gets a hit, you can go to https://www.twilio.com/try-twilio signup for a free account and get the api key 3) put the account SID and Auth token into messenger.py as well as your phone number.
My bad I was working on it a little while ago and forgot to change a few things back. If I have time this weekend i'll update the project.
I'm new to python and coding in general so excuse me if this is obvious.... I can't get bestbuy.py to start because of this:
D:\Document\GitHub\3080Plx\bots>bestbuy.py Traceback (most recent call last): File "D:\Document\GitHub\3080Plx\bots\bestbuy.py", line 20, in
from . import secret_messenger as msg
ImportError: attempted relative import with no known parent package
What am I doing wrong?