160
submitted 1 year ago* (last edited 1 year ago) by Barns@lemmy.world to c/nba@lemmy.world

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
[-] LostMyRedditLogin@lemmy.world 23 points 1 year ago

Now we need more people commenting on game threads.

[-] Barns@lemmy.world 17 points 1 year ago

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

[-] BasicallyClean@kbin.social 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.

[-] skipseagull@lemmy.world 5 points 1 year ago

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

[-] Barns@lemmy.world 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!

[-] IronRain@lemmy.world 13 points 1 year ago

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).

[-] LostMyRedditLogin@lemmy.world 5 points 1 year ago

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.

[-] IronRain@lemmy.world 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!

[-] Barns@lemmy.world 4 points 1 year ago

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

[-] IronRain@lemmy.world 1 points 1 year ago

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

[-] SauceFlexr@lemmy.world 15 points 1 year ago

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

[-] Darren@lemmy.world 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.

[-] naneek@lemmy.ca 11 points 1 year ago

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!!

[-] v_krishna@lemmy.ml 4 points 1 year ago

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

[-] MatchThreadBot@lemmy.world 5 points 1 year ago

yep, sorry, that's what we did

[-] mintiefresh@lemmy.ca 10 points 1 year ago

Wow. This is cool. Thanks!

[-] vacuumpizzas@t.bobamilktea.xyz 8 points 1 year ago

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

[-] Vlhacs@reddthat.com 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

[-] tigerdactyl@lemmy.dbzer0.com 5 points 1 year ago

That’s awesome, thanks for the hard work

[-] spacedancer@lemmy.world 5 points 1 year ago

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

[-] whoopThereItIs@lemmy.world 5 points 1 year ago

This is great! Thank you mods!!

[-] death916@lemmy.death916.xyz 5 points 1 year ago
[-] Barns@lemmy.world 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.

[-] pobautista@lemmy.world 4 points 1 year ago

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

[-] Jackolantern@lemmy.world 4 points 1 year ago

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

[-] Terasuske@lemmy.world 4 points 1 year ago

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

[-] Barns@lemmy.world 4 points 1 year ago

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...

[-] Terasuske@lemmy.world 1 points 1 year ago

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

[-] Barns@lemmy.world 1 points 1 year ago

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

[-] aquarisces@lemmy.world 3 points 1 year ago

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

[-] vodkasolution@feddit.it 3 points 1 year ago

Love to read that!

This is so sick! Thanks guys

[-] afoutopatisa@lemmy.world 1 points 1 year ago

Amazing!

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

[-] Barns@lemmy.world 2 points 1 year ago

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 :)

[-] afoutopatisa@lemmy.world 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.

[-] decadentrebel@lemmy.world 1 points 1 year ago

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

[-] Barns@lemmy.world 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

[-] rezz@lemmy.world 0 points 1 year ago* (last edited 7 months ago)

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

[-] Barns@lemmy.world 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 β€Ί
this post was submitted on 14 Jul 2023
160 points (97.1% liked)

NBA

5091 readers
21 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