Skip to content

speedrun-feature#106

Merged
mkmccarty merged 17 commits intomainfrom
speedrun-feature
Apr 9, 2024
Merged

speedrun-feature#106
mkmccarty merged 17 commits intomainfrom
speedrun-feature

Conversation

@mkmccarty
Copy link
Owner

No description provided.

mkmccarty added 17 commits April 5, 2024 16:51
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.
- 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.
@mkmccarty mkmccarty merged commit 523bf40 into main Apr 9, 2024
@mkmccarty mkmccarty deleted the speedrun-feature branch April 9, 2024 04:27
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