toddrob99 / redball

The redball bot management platform facilitates creating, configuring, and running of bots using a web interface. Includes bots to post and update discussion threads on Reddit related to MLB, NFL, NHL, and NBA teams, update standings in subreddit sidebars for all four major sports, remove duplicate link posts, as well as respond to comments on Reddit with MLB data.
GNU General Public License v3.0
23 stars 8 forks source link

Lemmy game threads #25

Open benja810 opened 1 year ago

benja810 commented 1 year ago

Context

I created a new bot for game threads in lemmy. The idea is to provide the same game day thread experience that exists currently on the sports subreddits but on lemmy. I am attempting to start with baseball and move on from there.

Notes

I copied the existing game_threads bot and all of its templates. I also commented out sticky functionality for the moment and weekly threads.

In order to get things working, I need to rip out all the praw references and replace them with my own "plaw" version. This isn't a real praw for lemmy, it's just enough to get the game day bot working minimally.

Known Bugs

The Game Day Thread loop creates a title from its template that has a line break, which isn't allowed in lemmy (API returns an error).

benja810 commented 1 year ago

TODO

My current list