End Vote After Specified Time

Open
#260 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
backend

Research direction

Start by locating the handlers for !vote new and !vote end, then trace how active vote state and immediate ending are stored. Add the specified timer and override behavior while preserving early manual ending; verify the examples and timer-expiry behavior with the project's existing vote or command tests, if present.

Written by the indexing model from the issue text.

Description

enhancement on stream

Allow a vote to end after a specified time limit.

Example:
!vote new Red Blue Create a vote on whether Red or Blue is better.
!vote end 2m Sets a 2 minute timer to end the vote (will override a previous vote ending timer).
!vote end Ends a vote immediately.

  • Even if time limit already set, vote can still be manually ended early by using the !vote end command again.
Dominant language
JavaScript
Stars
54
Forks
24
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DevChatter/DevChatterBot

All issues in DevChatter/DevChatterBot

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.