aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2020-01-08 20:44:32 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2020-01-08 20:44:32 -0500
commit77743bffc691d3b304f9176c5ae9c15996e6ca56 (patch)
tree8883964a6bf1ed4c549f0ef9676429d627f47cb8
parent15d67d00e0ea5775c728da7d431effb675f4c554 (diff)
updated notif
-rw-r--r--examples/jarvis.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js
index 3c2a7f6..2516687 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -80,12 +80,15 @@ function tileHandler(send, source, tiles){
//// "userspace" functions for responses, like to tileUpdates
var writes = new Queue(1000, 200, (elems) => main.write(elems));
+var command = 'jarvis'
+var sig = 'feynmansfedora'
var notifsrc = '\
\n\
For a node.js YWOT api: \n\
& http://github.com/feynmansfedora/ywot-clean \n\
-& Try `jarvis` today. Uptime: UPTIME. Called: JARVISx \n\
- '
+& Try `COMMAND` today. Uptime: UPTIME. Called: JARVISx ~SIGNATURE \n\
+ '
+notifsrc = notifsrc.replace('COMMAND', command).replace('SIGNATURE', sig);
var minsUp = 0;
var callct = 0;
var ctrl;