tiny-care-terminal
tiny-care-terminal copied to clipboard
Adding joke feature.
I added a joke feature. The parrot spokes a joke every 20 minutes instead of last tweet. Jokes come from tambalAPI. I have changed the config.js to get an env variable TTC_JOKE. If TTC_JOKE is true, the parrot will tell you a joke every 20 minutes. Here's an example:
Personally I like the idea but this kinda collides with #52 as well since that uses the bird area as well.
Perhaps we should look into a way to handle multiple things running using the space and how to handle that.
I think the parrot should say something fun or something to make you happy. I was thinking about create a box to pomodoro timer. Anyway nice project guys!
Aww thanks for liking this! I like the joke feature! I think rather than having a TTC_JOKE, there should be a TTC_PARROT = twitteraccount | joke
option. It would be tinycarebot
by default, but when updated to joke
, would tell a joke. @bundz WDYT?
Agreed! 👍 😆
Oh, I actually have a better idea. What if we use TTC_BOTS
instead, and replace the first twitter account with ttc_joke_bot
. It's a hardcoded string, and we can rework the logic to skip it for the tweet response, and then the parrot can just say it that way.