MovingBlocks
IRC/GooeyJr: Add a reminder script
Gooey is a friendly IRC bot for the #terasology channel on freenode. The bot is written in Coffeescript and is a Hubot. To further improve on Gooey we've recently restarted a new GooeyJr bot at the latest version of Hubot, which we're currently bringing up to the level of the old Gooey and extending with new features.
Your task is to add a simple reminder script, accessed using GooeyJr remindme "<message>" <time>
:
- When the script is activated by a user, Gooey should remember the
message
provided by the user and on the giventime
echo the message to them. - If the user is not present in chat when they should be notified, Gooey should still ping them when they appear online.
- For major bonus points, the bot should be able to parse "human"
time
input such as "on 2 AM", "in 5 hours", "the day after tomorrow" and so on using a natural language date parser such as chrono.
Definition of 'Done'
- A pull request is submitted to GooeyJr's GitHub repository containing the script as described above.
Where to start?
- This is a relatively nontrivial task - if you'd like to get familiar with Gooey before completing it, check out the easier Set up a workspace for GooeyJr and enable a new silly script task!
- A guide to Hubot scripting (that also applies to GooeyJr) can be found at https://hubot.github.com/docs/scripting/.
Task tags
Students who completed this task
Mandar Juvekar