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:

      • BasicallyClean@kbin.social
        link
        fedilink
        arrow-up
        2
        ·
        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.

        • Barns@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          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
      link
      fedilink
      arrow-up
      1
      ·
      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
        link
        fedilink
        arrow-up
        1
        ·
        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.

    • Barns@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      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

    • Barns@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      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
        link
        fedilink
        arrow-up
        1
        ·
        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.

  • Darren@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    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.

  • rezz@lemmy.worldM
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year 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.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

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

  • naneek@lemmy.ca
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    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!!