Eric's API
GET /timer
Start a timer
Required Parameters:
-
delay - amount of time to put on the timer
Optional Parameters:
-
unit - unit of time delay is in. Must be one of: second (default), seconds, minute, minutes, hour, or hours.
-
message - message to show when timer expires. Default: "Timer Done".
Also supports nightbot's urlfetch variable, message will be posted to chat when timer expires.
The following restrictions also apply when using through Nightbot:
- Timers cannot be started within 5 seconds of eachother
- Message won't be posted if timer expires within 5 seconds of another timer
-
Only mods and the channel owner can start timers
-
The channel owner must connect the API to Nightbot here for this feature to work