fraight-bot-client
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -128,11 +128,12 @@ const express = require('express'); | ||
send(content) { | ||
this._stageCommand('send', { content }) | ||
send(payload) { | ||
this._stageCommand('send', payload) | ||
return this; | ||
} | ||
schedule({ content }, delay) { | ||
schedule({ content, subject }, delay) { | ||
this._stageCommand('send', { | ||
scheduled_for: Date.now() + delay, | ||
content, | ||
subject | ||
}); | ||
@@ -139,0 +140,0 @@ return this; |
{ | ||
"name": "fraight-bot-client", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
74266
2076