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

Provide chosen player to /pitcher, /pitcher_savant, /batter, /batter_savant, and also re-use browser instance. #31

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

AlecM33
Copy link
Owner

@AlecM33 AlecM33 commented Aug 2, 2024

  • adds an option to provide a player to the /batter, /batter_savant, /pitcher, and /pitcher_savant commands. If one is not provided, it will check for the current batter/pitcher in a live game as it did before.
  • launch a puppeteer instance on startup and re-use it for everything. This is faster and more efficient.

image

@AlecM33 AlecM33 changed the title Savant player arg Provide chosen player to /pitcher, /pitcher_savant, /batter, /batter_savant, and also re-use browser instance. Aug 2, 2024
@AlecM33 AlecM33 merged commit 14f4745 into main Aug 2, 2024
1 check passed
@AlecM33 AlecM33 deleted the savant-player-arg branch August 3, 2024 19:59
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