clbarnes / pixybattle

https://github.com/WomensCodingCircle/pixybattle.git
0 stars 1 forks source link

Tweet fixes #41

Closed clbarnes closed 7 years ago

clbarnes commented 7 years ago

Tweets:

Canned tweets are now specified in JSON format. Any media (images etc.) should be downloaded locally and a path relative to the tweets directory should be given in the path property of the JSON. You can have both a msg and a path.

Also introducing DEBUG MODE. Start the script with --debug or -d to enter debug mode, where the console will log debug messages and up, and tweets will not be sent off (they will be stored in a file in the timestamped log directory). Otherwise, the default console log level is INFO. I highly recommend using this for testing so we don't clog up our twitter account.

I also fixed some failing tests (not that anyone else would run them...).