Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added module that creates polls on strawpoll.me and sends the link #156

Merged
merged 1 commit into from Mar 16, 2015
Merged

Added module that creates polls on strawpoll.me and sends the link #156

merged 1 commit into from Mar 16, 2015

Conversation

Bekey
Copy link
Contributor

@Bekey Bekey commented Mar 11, 2015

This is a module that creates a poll on strawpoll.me and sends the link in the chat.

Usage:
.strawpoll --title="Title" [--multi] [--permissive] "Option 1" "Option 2" ["Option 3" ...]

It also saves the last created strawpoll and returns it via the ".resendstrawpoll" command

elif o in ("-t", "--title"):
title = a
else:
return jenni.say("Unrecognized options")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Bekey
Copy link
Contributor Author

Bekey commented Mar 15, 2015

Looking at @dandirks's twitter replies he seems to be pretty chill about it with other people doing the same, he just hasn't been able to write a doc about the API or it's restrictions yet. Why it refuses python's default user-agent is beyond me tho.

@kaneda
Copy link
Contributor

kaneda commented Mar 15, 2015

@Bekey alright, and it makes sense that it would reject the default user agent since it isn't descriptive. Squash this into one commit and I'll merge it down.

@Bekey
Copy link
Contributor Author

Bekey commented Mar 16, 2015

Alright, I think I did it. Never done that before. :P

@kaneda kaneda merged commit 1df8f4c into myano:master Mar 16, 2015
@kaneda
Copy link
Contributor

kaneda commented Mar 16, 2015

@Bekey updated in the wiki here: https://github.com/myano/jenni/wiki

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants