similar up-to-date examples are in hipbot-plugins