ubot2/doc/example-plugins/canary.py

9 lines
179 B
Python
Raw Normal View History

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