ubot2/docs/example-plugins/counter.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

13 lines
306 B
Python

from __future__ import unicode_literals
# don't convert to ascii in py2.7 when creating string to return
import time
crontable = []
outputs = []
crontable.append([5, "say_time"])
def say_time():
# NOTE: you must add a real channel ID for this to work
outputs.append(["D12345678", time.time()])