examples moved to doc
This commit is contained in:
parent
3d07cf6ecf
commit
f7a307c9dd
3 changed files with 25 additions and 0 deletions
8
doc/example/repeat.py
Normal file
8
doc/example/repeat.py
Normal 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']])
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue