alarm

package
v1.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2016 License: BSD-1-Clause Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL