go-chat-bot / bot

IRC, Slack, Telegram and RocketChat bot written in go
MIT License
824 stars 194 forks source link

Add support for new periodic command type #91

Closed sochotnicky closed 5 years ago

sochotnicky commented 5 years ago

Original periodic command was run per-channel. This command can run separately and returns CmdResults that identify channels where the message should be sent to

This is one approach for resolving #90

sochotnicky commented 5 years ago

FWIW - if this approach is generally OK, I'd do a few cleanups + add tests

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.1%) to 98.089% when pulling b3768fbaff982a0fb610bdb236f4814524949749 on sochotnicky:add-periodic-command-v2 into cf98806022032f1199b8e612483a21485156b169 on go-chat-bot:master.