-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from AlecM33/challenges
small corrections, html site
- Loading branch information
Showing
7 changed files
with
129 additions
and
83 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>MLB Gameday Bot</title> | ||
<style> | ||
html { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
body { | ||
justify-content: center; | ||
padding: 10px; | ||
width: 100%; | ||
max-width: 50em; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
text-align: left; | ||
font-size: 18px; | ||
background-color: #03142d; | ||
color: #e7e7e7; | ||
font-family: "Segoe UI", Arial, sans-serif | ||
} | ||
img { | ||
border-radius: 5px; | ||
border: 1px solid #4d4d4d; | ||
width: 100%; | ||
max-width: 27em; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>MLB Gameday Bot ⚾</h1> | ||
<p id="intro">A bot that integrates with the MLB Stats API to track your team of choice. | ||
When running, the bot periodically polls for games in a 48-hour window centered on the current date. Whichever game is closest in time is considered the "current" game, and will be the game for which a lot of the commands returns data. If a game is live, the bot subscribes to its MLB.com Gameday live feed, and in turn reports events to any number of subscribed Discord channels. | ||
</p> | ||
<img src="./images/screenshots/gameday_feed.png"/> | ||
<p> | ||
The embeds are styled with contrasting colors from each team's color set. For balls in play, the bot will give Statcast metrics. | ||
This includes not only exit velo, launch angle, and distance, but also xBA and HR/Park, which are sourced separately from the | ||
MLB Savant site. By default, the bot will report the result of each at bat, plus any key events that happen during at-bats, | ||
such as baserunning events. If this is too much, the bot can be configured to report scoring plays only. Furthermore, if you wish | ||
to avoid spoilers for people watching or listening on a delay, you can provide a delay from 0-180 seconds when subscribing. | ||
|
||
For example, in a server for the Guardians, the bot has provided nice context right in the chat where people are following the game. | ||
You can of course personalize it to have a bit more flair for your team: | ||
</p> | ||
<img src="./images/screenshots/personalized_gameday.png"/> | ||
|
||
<h1 class="command-header">/lineup</h1> | ||
|
||
<img src="./images/screenshots/lineup.png"/> | ||
|
||
<h1 class="command-header">/starters</h1> | ||
|
||
<img src="./images/screenshots/starters.png"/> | ||
|
||
<h1 class="command-header">/box_score</h1> | ||
|
||
<img src="./images/screenshots/box_score.png"/> | ||
|
||
<h1 class="command-header">/line_score</h1> | ||
|
||
<img src="./images/screenshots/line_score.png"/> | ||
|
||
<h1 class="command-header">/pitcher</h1> | ||
|
||
<img src="./images/screenshots/pitcher.png"/> | ||
|
||
<h1 class="command-header">/batter</h1> | ||
|
||
<img src="./images/screenshots/batter.png"/> | ||
|
||
<h1 class="command-header">/scoring_plays</h1> | ||
|
||
<img src="./images/screenshots/scoring_plays.png"/> | ||
|
||
<h1 class="command-header">/highlights</h1> | ||
|
||
<img src="./images/screenshots/highlights.png"/> | ||
|
||
<h1 class="command-header">/standings</h1> | ||
|
||
<img src="./images/screenshots/standings.png"/> | ||
|
||
<h1 class="command-header">/schedule</h1> | ||
|
||
<img src="./images/screenshots/schedule.png"/> | ||
|
||
<h1 class="command-header">/weather</h1> | ||
|
||
<img src="./images/screenshots/weather.png"/> | ||
|
||
<h1 class="command-header">/attendance</h1> | ||
|
||
<img src="images/screenshots/attendance.png"/> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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