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

Emojis in async results threads; allow setting packet name for bulk playtesting; bulk playtesting reacts per-packet indexing; auto-add users to thread based on category roles; fix various other issues #38

Open
wants to merge 57 commits into
base: main
Choose a base branch
from

Conversation

ani-per
Copy link
Contributor

@ani-per ani-per commented Dec 27, 2024

See the updated README for more clarifications about each of these new features.

React emojis

See the new reacts zip file.

Configuration

The configuration process is now proofed against channels being duplicated for asynchronous and bulk playtesting (i.e. no async channels can be bulk or echo channels, and vice versa).

Auto-adding category roles

Users are now auto-added to all bot-created threads based on their category roles (RMPSS, Literature, etc.).

Powermarking

Powermarked questions are now properly parsed and players are given 15 points for buzzing in at any clue phrase before the powermark is read.

Asynchronous playtesting

Question

Discussion Thread Button

image

There's now a "Create Discussion Thread" button that allows anyone to trigger the creation a thread if !t wasn't used in the question to auto-create the thread.

Results

Tossups

Bonuses

For pseudo-tabular display, the emojis are now placed first, followed immediately by the score and user.

Bulk playtesting

Packet name

Users can now set the packet name for bulk playtesting. See the updated README for more details.

Reacts

Indexing (echoing)

React tallying

Using the !tally A or !count A command will automatically tally the reacts for all questions in packet A and publish the tallies to the corresponding index entry in the echo channel. Using the !end command will automatically tally the reacts for all questions in whatever packet was being read until that point.

Issues Fixed

…kflow and prevent overlap of async/bulk/echo channels; improve button constructor
* Create functions for removing and extracting question number
* Create function for adding users with given role to given thread
* Prevent thread titles from exceeding the limit
* Reorganize / tidy up results thread for tossups
* Add `ANS:` emoji
* Add functions to tally/summarize reacts for bulk playtested questions
* Add bulk playtested questions table to database
* Properly award powers if question is powermarked
* Add `!end` command to finish packet reading
* Remove echo setting and make concise echo the default
@ani-per
Copy link
Contributor Author

ani-per commented Dec 27, 2024

Updated main post to reflect fixing of #18.

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.

1 participant