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

add poll-bot to examples #1

Merged
merged 2 commits into from Feb 7, 2021
Merged

add poll-bot to examples #1

merged 2 commits into from Feb 7, 2021

Conversation

hdzdwlrs
Copy link
Contributor

@hdzdwlrs hdzdwlrs commented Feb 7, 2021

Bot for taking a poll in a chat.
!poll [option1] [option2] ...
Start a poll with given options -- no limit to number of options
!vote [pollid] [option]
Each ship can only vote once
!endpoll [pollid]
Only the creator of a poll can end it
Polls get a numerical ID generated at creation and are stored in a json file in the directory that the bot is running in.

Bot for taking a poll in a chat.
!poll [option1] [option2] ...
Start a poll with given options -- no limit to number of options
!vote [pollid] [option]
Each ship can only vote once
!endpoll [pollid]
Only the creator of a poll can end it
Polls get a numerical ID generated at creation and are stored in a json file in the directory that the bot is running in.
fix error with comparing poll owner string with json object & reformat votes in result
@robkorn
Copy link
Owner

robkorn commented Feb 7, 2021

Awesome, thanks for contributing.

@robkorn robkorn merged commit b5f59dc into robkorn:master Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants