Merged
Conversation
Set SRData fields with new values for speedrun options and create the Chicken Run Tango details for the contract. Update the message builder with detailed speedrun instructions. Refresh Boost List message for each contract location. Update command options with correct values for speedrun style. Add constants for speedrun legs and style in the boost package.
Added speedrun functionality to the bot, including setting speedrun options, handling speedrun commands, and reordering boosters for speedrun contracts. Reordered boosters based on specific criteria for speedrun contracts.
- Introduce SpeedrunStateCRT custom state for speedrun contracts - Modify message rendering for Speedrun CRT mode - Add specific reactions for Speedrun CRT, boosting, and post phases
Isolates speedrun reactions based on different states like CRT, Wonky, and Post. Adds new reactions like 💃 for Tango and 🐓 for Want Chicken Run. Fixes token reaction bug to properly trigger when a specific state is met.
Changed the order in which contract token messages are recorded to properly associate the sender and receiver of the token.
… and boost_draw files.
- Added ContractStateArchive to indicate contract is ready to archive - Updated logic to handle archiving of contracts - Added reactions for archiving contracts
Updated the speedrun logic in StartContractBoosting to only trigger speedruns if there are more than one leg in the contract. Added support for a new SpeedrunStateBoosting.
…ve clarity Update the boost info message to consider the tango factor when displaying the number of chicken run legs required. Additionally, provide a clearer explanation when reaching the total chicken runs is not possible with the given number of farmers. Fix style and add details about the sink sending boost tokens. Ensure the booster and the ones sending tokens are accurately indicated.
…tion Removed the speedrun style option from handling speedrun commands as it was unnecessary. Also, added validation for the sink user ID for the Wonky style boost lists to ensure it is a user mention.
Replaced fmt.Println calls with log.Println for better logging consistency and improved error handling in the main.go file.
Added a 🐓 reaction to indicate readiness for others to run chickens on the farm in boost messages.
Adjusted token count handling in boost.AddBoostTokens to ensure correct updating. Added emoji-based reactions for boost events to provide informative messages to users. Also, optimized token handling in speedrunReactions and added messaging for token distribution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.