Giving the Date and Time

TellDateTimeSkill

Skill to give the date and time.

__init__(self) special

Tell Date and Time Skill Initialization

handle_telldate_intent(self, message)

Primary function for intent matches when a DATE intent is detected. Called by skill manager.

Parameters:
  • message (str) – text that triggered the intent

Returns:
  • (bool) – True on success or False on failure

handle_telltime_intent(self, message)

Primary function for intent matches when a TIME intent is detected. Called by skill manager.

Parameters:
  • message (str) – text that triggered the intent

Returns:
  • (bool) – True on success or False on failure

initialize(self)

Load intent files for Tell Date Time Skill

Returns:
  • (bool) – True on success else raises an exception

stop(self)

Method to stop any daemons created during startup/initialization for this skill.

Returns:
  • (bool) – True on success and False on failure

create_skill()

Method to create the instance of this skill for delivering to the skill manager

Returns:
  • (object) – TellDateTimeSkill instantiated class object