ubot2/doc/example-plugins/repeat.py
2014-12-08 15:31:55 -08:00

8 lines
227 B
Python

import time
crontable = []
outputs = []
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(data['text'], data['channel']) ])