make plugins dir based
This commit is contained in:
parent
29fbb30c75
commit
3d07cf6ecf
4 changed files with 14 additions and 31 deletions
|
@ -1,9 +0,0 @@
|
|||
import time
|
||||
crontable = []
|
||||
outputs = []
|
||||
|
||||
#crontable.append([.5,"add_number"])
|
||||
crontable.append([5,"say_time"])
|
||||
|
||||
def say_time():
|
||||
outputs.append(["D030GJLM2", time.time()])
|
|
@ -1,8 +0,0 @@
|
|||
import time
|
||||
crontable = []
|
||||
outputs = []
|
||||
|
||||
def process_message(data):
|
||||
if data['channel'].startswith("D"):
|
||||
outputs.append([data['channel'], "from repeat1: " + data['text']])
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
import time
|
||||
crontable = []
|
||||
outputs = []
|
||||
|
||||
def process_message(data):
|
||||
if data['channel'].startswith("D"):
|
||||
outputs.append([data['channel'], "from repeat2: " + data['text']])
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue