2016-06-05 13:28:28 -07:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
# don't convert to ascii in py2.7 when creating string to return
|
|
|
|
|
2014-11-17 21:22:37 -08:00
|
|
|
crontable = []
|
|
|
|
outputs = []
|
|
|
|
|
2016-04-15 14:03:20 -07:00
|
|
|
|
2014-11-17 21:22:37 -08:00
|
|
|
def process_message(data):
|
|
|
|
if data['channel'].startswith("D"):
|
2016-04-15 14:03:20 -07:00
|
|
|
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
|
|
|
|
data['text'], data['channel'])]
|
|
|
|
)
|