this post was submitted on 10 Jun 2023
3 points (100.0% liked)

Baseball

748 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
 

Good morning everyone! I'm going to start work today on creating a Game Day Bot for lemmy. If anyone has any experience with the existing GDBs on reddit, please reach out to me.

I've struggled to find the open-source version of the code for the r/baseball (and teams') bots and am planning on using this NHL one I found as a template.

It's not a lot of work but it would be a whole lot easier to just fork and update than write all the boiler plate from scratch. If someone could share the existing source code for the popular GDBs I will do just that so new mods can fork a lemmy-specific version.

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

Yes, I was looking at that. Praw is huge - I figured we could focus on just implementing the methods used by redball. My thought is then we won't need to touch the redball code much at all, mostly just changing out the Reddit text references.

[–] [email protected] 0 points 1 year ago (1 children)

Agreed. We really just need to login (to get the auth token) and the GetPost and EditPost methods for the basic game day bot. I am not a python developer so what I've been working on is just a hack to get this to work, not a praw replacement 😁

I am interested in seeing how the redball templates look in lemmy once I get it working.

FYI: One of the lemmy devs, Sleepless One, just confirmed he doesn't know anyone working on a python client.

[–] [email protected] 0 points 1 year ago (1 children)

I'll leave you to it then. Let me know if there is anything you'd like me to take a look at.