this post was submitted on 14 Jul 2023
160 points (97.1% liked)

NBA

5095 readers
36 users here now

East - Atlantic
Boston Celtics
Brooklyn Nets
New York Knicks
Philadelphia Sixers
Toronto Raptors
East - Central
Chicago Bulls
Cleveland Cavaliers
Detroit Pistons
Indiana Pacers
Milwaukee Bucks
East - Southeast
Atlanta Hawks
Charlotte Hornets
Miami Heat
Orlando Magic
Washington Wizards
West - Northwest
Denver Nuggets
Minnesota Timberwolves
Oklahoma City Thunder
Portland Trailblazers
Utah Jazz
West - Pacific
Golden State Warriors
Los Angeles Clippers
Los Angeles Lakers
Phoenix Suns
Sacramento Kings
West - Southwest
Dallas Mavericks
Houston Rockets
Memphis Grizzlies
New Orleans Pelicans
San Antonio Spurs

founded 1 year ago
MODERATORS
 

Edit: so looks like there was an issue in the daily transition and the bot went crazy spamming the same daily index post over & over 😞 we apologize for that, and we're already working on a fix

Edit 2: Fix is done and released, going to keep an eye on it in upcoming days


Hi everyone,

Happy to share that over the last days we have been working on a new Lemmy-native NBA Game Day Bot for this community, and today we activated it πŸŽ‰

Currently, our bot knows how to:

  • Create a Daily Discussion + Game Thread Index with a list of today's games, start date, status and links to the Game Thread & Post-Game Thread (when available).

  • Create a Daily Game Thread for every game starting 15min before game start, keeping overall score and quarterly breakdown by team updated every minute, and when the game ends it adds the final score to the title.

  • Create a Post Game Thread for every game that ends with a detailed breakdown of team & player statistics.

You can see a few examples for these below, check them out.

We would also love to hear your feedback and suggestions, so feel free to post suggestions here or PM the bot directly

We hope you enjoy it!

The mod team πŸ€


A few NBA bot post examples:

top 39 comments
sorted by: hot top controversial new old
[–] [email protected] 23 points 1 year ago (2 children)

Now we need more people commenting on game threads.

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

If you build it, they will come πŸ™‚

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

We are living proof of that. We have the #1, #2, #3 most commented threads ever on kbin on m/MMA for our threads. People just show up.

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

Is there a github for the bot. We are looking for something like it on /c/football and /c/mls

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

Yes, I'm working on open sourcing it, it's just pretty hack-y (I'm not a python expert...) and very NBA-specific but I'll ping you when I do!

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

Summer League threads are usually pretty low volume even on r/nba. Unfortunately, we missed the big-name free agency and trade deadlines to foster discussion, so the real foundation for this community will probably be opening week (pre-season is also low volume or a bunch of low-effort overreactions anyways).

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

True. It also hurts that teams are protecting their top ten picks after a few games. I would have liked to see more Wembanyama minutes.

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

I hate the concept of resting your 20 year old draft picks. Some of these players - especially Wemby - need all the exposure and development they can get. That's why I loved Jabari Smith Jr's attitude about Summer League, and the fact that Max Christie has played every game so far!

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

Absolutely, I wanted to get it out before Summer League ends so we can find issues and get feedback from everyone, I fully expected the actual threads to be pretty quite

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

I just want to say thanks for all the work you've put into this!

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

Great work. Excited to see the community grow and this will help!

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

Thanks to everyone who put this together. I’m sure it was a lot of hard work, but I think I can speak for the majority of the community that this is something that is extremely valuable to fostering growth over time.

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

There must be an incorrect loop condition as the bot is currently spamming /c/nba every 2 mins with a new pinned post.

Please fix and clean out the old posts!!

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

It stopped doing it but please delete the posts it makes a bunch of sort views unusable if you are subscribed to this community

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

yep, sorry, that's what we did

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

Wow. This is cool. Thanks!

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

Excited to hear about these huge quality-of-life improvements!

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

Awesome, hope to see lemmy-based NBA communities become more like /r/NBA. This definitely helps build and starts more conversation everyday

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

Is it open source. Id love to add it to [email protected]

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

not yet but it's high on my list so stay tuned. I first need to clean out all the summer league hacks I made since the nba api library I use (https://github.com/swar/nba_api) didn't support it... then a bit of tidying up and we should be good to go.

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

That’s awesome, thanks for the hard work

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

Awesome! Can't wait for this community to overtake r/nba. Great work, and thanks!

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

This is great! Thank you mods!!

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

This is great stuff, and much needed with the growing community. Awesome work!

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

Wow this is nice! Can the comments be sorted by live where the comments are updated real time without refreshing?

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

That would be Lemmy functionality, not the bot's, and I believe that's currently not possible since Lemmy removed web sockets so the servers can't "push" updates to the website in real time. You may remember that even on reddit it was an external site that was built to overcome the same limit...

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

I didnt know about that in Reddit. Is it because of security concerns? Would be nice to sort it out by live or something like slow mode

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

not security related but it creates additional load on the system. We can eventually look into building something similar.

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

Now we just need an NBAcirclejerk community here to complete the yin and yang..

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

Love to read that!

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

Love to see how this community is developing - great work team!

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

This is so sick! Thanks guys

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

Great work! What bot is this, though? Could use one to post a daily thread on our community.

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

πŸ‘

I'm working on open sourcing it as we speak, and already added support for a single team so it should be ready in a few days

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

Amazing!

Suggesting: Create a twitter bot that posts Woj/Charania tweets with >10K likes

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

I've thought about it but there are two issues - one is that Twitter (Elon...) just locked their API so the bot would need to use some hack to scrape the twitter pages (not impossible though). The other is that like you said, we don't want to post every Woj/Shams tweet but by the time the important ones reach 10k likes (or a similar filter), someone probably would post them here already so we'd be posting stake tweets...

not sure I have a solution for the 2nd problem, happy to hear opinions :)

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

Thank you for the explanation! Regarding the double-posting problem, I think that a check if tweet is already posted should be enough in most cases.

[–] [email protected] 0 points 1 year ago* (last edited 8 months ago) (1 children)

So all game threads and post game are automatic, or we need to send a commend to the bot to prompt one?

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

all the threads are automatic, the Bot just keeps running all the time and updates them

load more comments
view more: next β€Ί