diff options
-rw-r--r-- | examples/jarvis.js | 7 |
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; |