Game Threads | Reddit for Developers
close

Readme

Game Threads

An automated game thread bot for sports subreddits on Reddit. Game Threads posts pregame, in-game, postgame, and off-day discussion threads — and updates them in real time as games progress with scoring plays, boxscores, linescores, and more.

Supported sports

Sport Status
MLB Available
NFL Available
NHL Available
NBA Available

Setup

  1. Install the app to your subreddit.
  2. In the app's installation settings, select your sport and team.
  3. The bot seeds a configuration wiki page at r/{your-sub}/wiki/game-threads/config-{sport} and a setup guide at r/{your-sub}/wiki/game-threads/guide.
  4. Edit the config wiki page to tune behavior — suppress sections, adjust update intervals, add custom links, override title templates, and more.

Documentation

After install, see the seeded game-threads/guide wiki page in your subreddit for the full mod-facing reference. It covers:

  • Sport and team selection
  • Schedule and off-day thread behavior
  • Stickying, locking, and flair
  • Title templates and strftime date formats
  • Body composition (default templates + prepend/append)
  • Update intervals and comment sort
  • Inter-thread linking
  • Sport-specific configuration options

Customization

Game thread bodies and titles are rendered from Liquid templates stored as wiki pages under r/{your-sub}/wiki/game-threads/templates/. Mods can edit those pages to fully customize what the bot posts. Default templates are seeded after sport is configured and recreated if deleted.

Fetch Domains

This app makes outbound HTTP requests to the following third-party domains, each declared in the app's devvit.json permissions.http.domains allowlist. All requests are read-only GET requests to public, unauthenticated endpoints — no credentials are stored or transmitted, and no subreddit-specific identifying information is sent beyond what is needed to fetch the requested resource (e.g. team ID, date, game ID).

Domain Operator Purpose
statsapi.mlb.com MLB Advanced Media (Major League Baseball) MLB schedules, live game state, box scores, line scores, play-by-play, and probable-pitcher data. Used to compose MLB game thread titles + bodies and to drive the per-tick update loop.
site.api.espn.com ESPN NFL and NBA schedules, live game state, scores, and team metadata. Used to compose NFL/NBA game thread titles + bodies and to drive the per-tick update loop.
sports.core.api.espn.com ESPN Detailed sport-data references (team metadata, athlete refs, secondary game endpoints) for NFL and NBA. Used as a complement to site.api.espn.com for enriched data not exposed by the site API.
api-web.nhle.com National Hockey League NHL schedules, live game state, and scoring plays. Used to compose NHL game thread titles + bodies and to drive the per-tick update loop.

This app does NOT make outbound requests to any other domain.

About this app