any active member of IRC channel #dailybuild can post tweets from @dailybuild3 🦄😹
(except for kenster
)
- clone this repo
- edit file
regular-tweet.js
by assigning your tweet message toconst message = "{ muh tweet content }"
- do the mandatory voodoo to create a pull request
- let
socraticDev
give a quick look and merge your submission 🏁socraticDev
would have to remember he needs to merge that intouserTweet
branch
tip: To make sure your message is well-formed (since you dont have access to Twitter API keys), locally, you can comment out the Tweet Module
import statement and the last line where the message is sent by the module. Instead, you can simply console.log({your message})
and see if your message is well-formed.
Using unit tests to fix bugs and develop new scripts will make our lives easier!
- Add a new test file (ending in
*Spec.js
) in the/spec
directory and write some test scenarios; - In terminal prompt, make sure you are located (
pwd
) at the root of the project; - type
jasmine
; - The tests will be ran and a result outputted to same terminal;
- read the test framework output.
Almost all @dailybuild3's tweets are posted from automated scripts on a cron job. Here's a list of the scripts: