From 77743bffc691d3b304f9176c5ae9c15996e6ca56 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Wed, 8 Jan 2020 20:44:32 -0500 Subject: updated notif --- examples/jarvis.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples') 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; -- cgit