MLB Game Feed Bot: Difference between revisions
add some history |
de-knowledgebase-ify the page and add categories |
||
Line 1: | Line 1: | ||
''MLB Game Feed Bot'' is a Discord bot developed by [[Chew]] and is used to hook into the MLB (Major League Baseball) API and track live game data, much like the MLB's ''Gameday''. It is written in JDA | ''MLB Game Feed Bot'' is a Discord bot developed by [[Chew]] and is used to hook into the MLB (Major League Baseball) API and track live game data, much like the MLB's ''Gameday''. It is written in JDA, a Java Discord library. As of July 10th, 2024, it is in over 1,100 servers. | ||
== Features == | == Features == | ||
Line 7: | Line 7: | ||
=== Commands === | === Commands === | ||
The bot communicates solely though slash commands. There are | The bot communicates solely though slash commands. There are 7 commands, 4 of which manage or monitors games.<ref>[https://help.chew.pro/bots/discord/mlb-game-feed/commands MLB Game Feed Bot command list]</ref> | ||
Games can be started with the <code>/startgame</code> or <code>/plangame</code> to plan future games. Once a game is active, <code>/score</code> can be used to view the score, and <code>/stopgame</code> can forcibly stop the game; however, the game will stop automatically when it's over. | |||
The bot can be configured per-channel with the <code>/config</code> command. And the <code>/setinfo</code> command can be used to set a voice channel's name to certain stats. Finally, <code>/standings</code> can be used to view standings for a provided division. | |||
== | == History == | ||
The bot started off inspired by the MLB Chat Discord server's own bot. Chew began development on June 16th, 2022<ref>[https://github.com/Chew/MLB-GameFeed-Bot/commit/d87913277ff2ba37ea5c4844985d28a700c10dad Initial gradle by Chew on GitHub]</ref>, but the first code was committed the following day on June 17th, 2022<ref>[https://github.com/Chew/MLB-GameFeed-Bot/commit/e0da85726b26ac0d5dbc663f4c24943d5bfddabd Iteration one of game feed by Chew on GitHub]</ref>. Throughout the rest of the month, fixes and improvements were slowly made. The bot was added to a Texas Rangers fan Discord server. | |||
At the start of the 2023 season, the bot was in 79 servers; at the end of the season, it was in nearly 600 servers. | |||
== External Links == | |||
* [https://help.chew.pro/bots/discord/mlb-game-feed MLB Game Feed on ChewHelp] | |||
== References == | == References == | ||
[[Category:Discord Bots]] | |||
[[Category:Projects]] | |||
[[Category:Programs written in Java]] | |||
[[Category:Active projects]] |
Revision as of 05:34, 11 July 2024
MLB Game Feed Bot is a Discord bot developed by Chew and is used to hook into the MLB (Major League Baseball) API and track live game data, much like the MLB's Gameday. It is written in JDA, a Java Discord library. As of July 10th, 2024, it is in over 1,100 servers.
Features
The bot allows you to start a live game and have the plays come in when they're posted to the endpoint. By default, in-play events have a 13 second delay, and plays that don't (strikeouts, walks, etc) have a 18 second delay. This can be configured per channel, as desired. These times were chosen as they closely line up with the play happening live on TV, to prevent spoilers. Watching a game in-person, there is a few second delay before the result is posted to the API.
Commands
The bot communicates solely though slash commands. There are 7 commands, 4 of which manage or monitors games.[1]
Games can be started with the /startgame
or /plangame
to plan future games. Once a game is active, /score
can be used to view the score, and /stopgame
can forcibly stop the game; however, the game will stop automatically when it's over.
The bot can be configured per-channel with the /config
command. And the /setinfo
command can be used to set a voice channel's name to certain stats. Finally, /standings
can be used to view standings for a provided division.
History
The bot started off inspired by the MLB Chat Discord server's own bot. Chew began development on June 16th, 2022[2], but the first code was committed the following day on June 17th, 2022[3]. Throughout the rest of the month, fixes and improvements were slowly made. The bot was added to a Texas Rangers fan Discord server.
At the start of the 2023 season, the bot was in 79 servers; at the end of the season, it was in nearly 600 servers.