ubot2/docs/example-plugins/canary.py
Jeff Ammons 3cd9b9a828 Standardizing docs between python-slackclient and rtmbot
Added copyright to License File
Added standard format for issues/PRs
Added Code of Conduct
Moved doc/ to docs/
2016-07-09 10:13:52 -07:00

12 lines
287 B
Python

from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
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()