ubot2/doc/example-plugins/canary.py

10 lines
181 B
Python
Raw Normal View History

2014-11-21 13:35:15 -08:00
import time
outputs = []
2014-11-21 13:35:15 -08:00
def canary():
# NOTE: you must add a real channel ID for this to work
2014-11-21 13:35:15 -08:00
outputs.append(["D12345678", "bot started: " + str(time.time())])
canary()