this post was submitted on 20 Jun 2023
12 points (100.0% liked)

Baseball

763 readers
1 users here now

The fans' home for baseball.

Mods wanted!

If you’re a member of the original mod team for r/baseball (or just wish to help out in general), DM @[email protected] and I’ll restore your position :)

AL East

[email protected] [email protected] [email protected] [email protected] [email protected]

AL Central

[email protected] [email protected] [email protected] [email protected] [email protected]

AL West

[email protected] [email protected] [email protected] [email protected] [email protected]

NL East

[email protected] [email protected] [email protected] [email protected] [email protected]

NL Central

[email protected] [email protected] [email protected] [email protected] [email protected]

NL West

[email protected] [email protected] [email protected] [email protected] [email protected]

founded 1 year ago
MODERATORS
 

cross-posted from: https://fanaticus.social/post/22176

Just wanted to everyone subscribed to this community and update one the game day bots:

Some of you may have noticed there's a game day bot that's been posting to some of your communities. I forked the popular redball bot that's widely used on reddit and have been working to get it compatible with lemmy.

That project is not complete but I plan on putting in a lot of work this weekend in order to squash the bugs and add in the remaining missing features.

Once complete, I'll roll out a standard version of it to all of the baseball communities on fanaticus. That being said, I don't want to be the guy running every baseball community on fanaticus. Anyone who wants to run a community can ask to be a mod and I'll work with them to set up and configure their own baseball bot.

06/20/23 Update:

I've added about 10 game bots to your communities so far. You may have noticed that your community used to have a bot but doesn't anymore. That's because I've moved the bots to run on our beefed up server instead of my local machine and haven't re-created them there.

There are still a couple kinks I'm working through (see @[email protected]'s mayhem yesterday) but otherwise things are going well. There is one major issue I'm running into now and would like some feedback on:

Lemmy only has a 10k character limit on post bodies. Reddit has 40k. The current bot easily pushes the 10k limit which breaks the post update. The main culprit is the highlight table. If there's a lot of action, we hit the limit. I can either:

  1. Check for 10k character limit and truncate (not ideal)
  2. Remove entire sections of the post (i.e. the highlights)

If I remove the highlights and just post them as comments, that might be ideal. Any thoughts?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (1 children)

Hi sorry there's a little bug that has been plaguing the game bots and because I'm out of town right now I turned off the game bots until I can properly debug.

See this post for more details https://fanaticus.social/post/113939

[–] [email protected] 1 points 1 year ago

No problem. Thanks for the work on the bot, hopefully the participation will increase.