include dir and example config

This commit is contained in:
Ryan Huber 2014-11-18 09:20:00 -08:00
parent 5608883b45
commit 3cd6315912
5 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,9 @@
import time
crontable = []
outputs = []
#crontable.append([.5,"add_number"])
crontable.append([5,"say_time"])
def say_time():
outputs.append(["D030GJLM2", time.time()])

View file

@ -0,0 +1,8 @@
import time
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1: " + data['text']])

View file

@ -0,0 +1,8 @@
import time
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat2: " + data['text']])