ubot2/doc/example-plugins/repeat.py

10 lines
236 B
Python
Raw Normal View History

2014-11-17 21:22:37 -08:00
crontable = []
outputs = []
2014-11-17 21:22:37 -08:00
def process_message(data):
if data['channel'].startswith("D"):
outputs.append([data['channel'], "from repeat1 \"{}\" in channel {}".format(
data['text'], data['channel'])]
)