tiny-care-terminal icon indicating copy to clipboard operation
tiny-care-terminal copied to clipboard

Adding joke feature.

Open bundz opened this issue 7 years ago • 5 comments

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: screen shot 2017-04-26 at 08 53 32

bundz avatar Apr 26 '17 11:04 bundz

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.

Garbee avatar Apr 26 '17 12:04 Garbee

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!

bundz avatar Apr 26 '17 13:04 bundz

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?

notwaldorf avatar Apr 26 '17 18:04 notwaldorf

Agreed! 👍 😆

bundz avatar Apr 26 '17 19:04 bundz

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.

notwaldorf avatar Apr 26 '17 19:04 notwaldorf