wilhelmklopp / simple-poll

:bar_chart: Create native and simple polls in Slack.
195 stars 25 forks source link

Any option for recurring polls? #34

Open StingyJack opened 7 years ago

StingyJack commented 7 years ago

Something like

/poll "Getting headcount for company lunch" "I'm in" "I'm out" recur every monday and thursday at 9am

wilhelmklopp commented 7 years ago

Hey, unfortunately, this is not possible at the moment :/ However, there have been some requests for this feature: https://simplepoll.uservoice.com

khirakawa commented 7 years ago

This is something we're looking for as well. Any options for working around with? I've tried using hubot to schedule a cron job that would post /poll XYZ, but slash commands with hubot don't work at the moment =\

wilhelmklopp commented 7 years ago

@khirakawa No great view of doing this still unfortunately.

I'd imagine you could set something up using the undocumented chat.command API method: https://github.com/ErikKalkoken/slackApiDoc/blob/master/chat.command.md

But it would be quite hacky and not very pretty :/

david-drinn commented 7 years ago

If you have an authentication token, you can set up a cron job to login and post a poll. This is what I've done and documented here using the python slacker module.

http://stackoverflow.com/a/40920628/2125392