Documentation
¶
Overview ¶
Package alarm allows a user to schedule an alarm with a custom message. The alarm can be scheduled at an exact time or an offset from the current time. Once a scheduled alarm's time has come, the bot will notify the user who scheduled it. Alarms can be unscheduled by the user who scheduled it.
Create a new alarm for 10 minutes from now:
<steve> !reminder 10 Make food.
Create a new alarm for 18:15:
<steve> !reminder 18:15 Make food.
Index ¶
Constants ¶
View Source
const ( TextTimeFormat = "15:04" TextReminder = "reminder" TextClearReminder = "reminder_remove" TextTimestamp = "tijdstip" TextMessage = "bericht" TextID = "id" TextInvalidTime = "%s, %q is geen geldige tijd waarde." TextDefaultMessage = "%s, het is %s: Snooze tijd!" TextMessagePrefix = "%s, het is %s: " TextAlarmSet = "%s, het alarm is ingesteld. Je kunt het verwijderen met: !reminder_remove %s" TextAlarmUnset = "%s, het alarm is verwijderd." )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.